Search results

  1. ki77bot

    rollover dress

    Well, now I found that...WOW Thanks to you both, guys. I am not sure what you mean with tie-breakers there? Cheers ki7bot
  2. ki77bot

    Display case manager script help

    Hmmm, actually I was asking for both...:eek: void main() { string [item] list; file_to_map("displaycase.txt", list, amount); foreach key in list if(item_amount(key)>0) put_display( item_amount(amount), key); print("done"); } Would it work like this? :confused: It is obvious that...
  3. ki77bot

    rollover dress

    Not sure what you mean...is that build-in in mafia or some script...? Well, anyway what I found was rollover.ash by bumcheekcity and hippoking...from their script I "borrowed" this: int grimcount; string body; body = visit_url("/desc_item.php?whichitem=642914247"); // -> depleted Grimacite...
  4. ki77bot

    Display case manager script help

    In which way would I have to modify display.ash in order to put other amounts of the specified item into the display case than 'all'. I understand that it would also mean to change the extra elements in the map file. So the question is mainly how do I read out the second 'column'? club necklace...
  5. ki77bot

    rollover dress

    Hi, is there a way to automatically decide if it is better to wear grimacite stuff (depleted Grimacite gravy boat, ...) instead of accessories that only give one extra adventure? Is there a function which indicates the moon phases? I tried to look it up in the Wiki already, but couldn't find it...
  6. ki77bot

    i made a mall price checker how do i...

    hmmm, doesn't work that way... Expected }, found ; there are probably only some {} missing, but I couldn't find 'em. Cheers & Happy Crimbo ki77bot
  7. ki77bot

    Hobo underling summoning...

    When I thought about it this night I figured out myself that it must be the difference in non-combats (with or without choiceadv), that is causing the behaviour. But your help is very much appreciated... :) So, is there a simple way to finish off a started non-combat adventure which is...
  8. ki77bot

    Hobo underling summoning...

    hmmm, (sorry for double post) nobody can help me? My solution for now is to switch to another familiar, but that is not satisfactory... and have_skill($skill["Summon hobo underling"]) won't work... Something odd happened, when I used another familiar (leprechaun): [95926] Giant's Castle...
  9. ki77bot

    Hobo underling summoning...

    I am using this to ask a hobo underling for a drink: while (i < 5) { if (contains_text(visit_url("adventure.php?snarfblat=82"),"You're fighting")){ steal(); use_skill(1, $skill["Summon Hobo underling"]); use_skill(1, $skill["ASK THE HOBO FOR A DRINK"]); use_skill(1, $skill["ASK THE...
  10. ki77bot

    price.ash: learn how much an item costs, courtesy items.ofloathing.org

    Yes, the first part of your post answers perfectly what I was looking for. (The second part describes what I've been doing so far. But as I try to look for solutions with less code, the cheapest function is greatly welcome :D). Thanks a lot. Cheers, ki77bot.
  11. ki77bot

    price.ash: learn how much an item costs, courtesy items.ofloathing.org

    Is there a way of doing that in ash, and I don't mean via cli_execute. I'm looking for a way I can use/define the 'variable' it in ash. Cheers, ki77bot.
  12. ki77bot

    pass a variable to another script

    Allright, thanks a lot, I didn't know how to handle the transformation into a string and back into an item... Cheers, ki77bot. Edit: Just tried that out, works great...
  13. ki77bot

    pass a variable to another script

    So, I tried out a few things now, but bviously I am doing something wrong. My guess is that I need to convert the particular variable to a string before storing it in prefs.txt with set property (). Well, to get a bit more precise, here is what I intend to do: My breakfast script is checking...
  14. ki77bot

    Semi Rares

    Wow, that'll take some time for me to understand that script... Thanks a lot for sharing... :) Cheers, ki77bot.
  15. ki77bot

    pass a variable to another script

    Yep, they are documented, but unfortunately not very thouroughly (yet?). KoLmafia Wiki But since some $%&§$%§& morons put some attacking html.scripts there you might have to have to ignore some warnings to get there (depending on your browser). Cheers, ki77bot.
  16. ki77bot

    Creating my first Breakfast Script

    Well, obviously reading is not understanding. :D They are BOTH correct. The first line can be put in a CLI file (file extension *.txt) and the second one is the syntax for an ASH file (file extension *.ash). As the rest of your breakfast script is already in ASH you should use the second one...
  17. ki77bot

    Buying raffle tickets

    Allright, thanks a lot.
  18. ki77bot

    Creating my first Breakfast Script

    You are not getting the difference of CLI (what you are using above) and ASH commands... So, if you want to put this into your other ASH-Script you could do it like this: cli_execute("autosell * Angry Farmer Candy"); and so on... I am almost sure, there is a better way in ash, but I don't...
  19. ki77bot

    pass a variable to another script

    hmmm, ok. I was hoping for a more convenient way, but oh well...thanks, Bale. Cheers ki77bot.
  20. ki77bot

    pass a variable to another script

    How can I pass a particular variable (for instance a certain item) from one script to another? Cheers, ki77bot.
Back
Top