Search results

  1. DaMaster0

    Why does the following code creat an endless loop?

    oh you know what, that might be it! or maybe it counts the meat 2. So say if you had 15,000 meat in your closet, that would pretty much be an infinite loop.
  2. DaMaster0

    Tutorial Help

    So that's a no? That's kinda dumb. I hope they fix that in the future.:D
  3. DaMaster0

    Why does the following code creat an endless loop?

    Note: I am a new programmer and I will probably make mistakes. Are you showing us the full code, or just part of it? Because if every time you put a new item in, the list will increase, making it one longer, and then when it puts in a new item, the process will happen again. But I know, it...
  4. DaMaster0

    Tutorial Help

    ok, thank you. Now my script works, but I want to know if there is a way for it to request an int from the user.
  5. DaMaster0

    Tutorial Help

    That just blew right past me. Something about it searching for item1 and that's a match to item #13? How do I make it search for what I call in the arguments?
  6. DaMaster0

    Tutorial Help

    I have another question. I have this code: int mall (item item1) { int price; if ( item_amount( $item[item1] ) < 1 ) { price = mall_price($item[item1]); return price; } print("You either have the following item, or it is not available in the mall: " + item1); return 0; } and this to...
  7. DaMaster0

    Trophy progress

    Either I can't get it to work, or you have a bug: > call /Users/DaMaster0/Library/Application Support/KoLmafia/scripts/trophies.ash Expected ), found = (trophies.ash, line 289)
  8. DaMaster0

    Tutorial Help

    Thanks guys. You were really helpful. I'll start looking at different scripts on the forums to dissect. But I have 2 more questions. 1: When you write a function that requires arguments, can you specify these arguments in the CLI? 2: I want to download information. Is that possible? When I say...
  9. DaMaster0

    Tutorial Help

    Tutorial Help - still have questions Can anyone recommend a tutorial for KOL mafia? I'm new, and I just finished the tutorials on the kol mafia page, but I really need to do a few more exercises before I get comfortable with all the commands. I did a few google searches but couldn't find any...
Back
Top