Search results

  1. G

    Bug numeric_modifier for familiar

    I'm running r15454. I was playing around and wasn't able to figure out why the leprechaun did not return any value for numeric_modifier "Leprechaun". So I tried some variations: float PetGrouper = numeric_modifier( $familiar[Grouper Groupie], "Fairy", familiar_weight($familiar[Grouper...
  2. G

    Nemesis quest script

    Thank you Winterbay, I think that did fix it. I still need someone who hasn't started the quest yet to test it but I think we are very close to a working script.
  3. G

    Nemesis quest script

    OK thank you. Yeah, that error means that if someone doesn't know the skill but have the document, the script wouldn't know what to do. I'll try to figure out something.
  4. G

    Nemesis quest script

    Trying to fix the pastamancer's quest I need some pastamancer that could help me test this code. Since I'm past those steps, I can't check it myself. Just copy/paste this code over line 1309 (right after // Pastamancer // Thanks to Mr Purple @ kolmafia.us) to right before boolean...
  5. G

    extract_item in combat

    Thank you Bale. You help is greatly appreciated.
  6. G

    extract_item in combat

    extract_item says it can extract the number of item drop in combat but I can't figure out how to use it. How do you put the end combat result as a string? Thanks --Grab
  7. G

    Foreach group

    Thanks. Using digirev code I ended up with something working. I do have to name every group in the script instead of generating it from the mapped file but at least it works. I'll try to figured out xKiv code when I have time. record item_info { item it; effect ef; string exclusive; // each...
  8. G

    Foreach group

    Yes that should be boost not profit. Totally not old code from where ever I'm steali... taking my inspiration for this script.
  9. G

    Foreach group

    Hi. I have a list of item that are grouped in group. record item_info { item it; effect ef; string exclusive; // each item is given a group; groupA, groupB etc float boostA; float boostB; float boostC int turns; // number of turns the effect last }; I made a new record containing...
  10. G

    CounterChecker: Wormwood, Semi-rares, Dance Cards and more

    I was thinking. Could line 319-320 be replace with this? I don't think lindy work as an item yet but this seems to work. It could even be a setting "prefer lindy" or something and be use before line 337 for everything (minus the if path). if(my_path() == "Zombie Slayer" &&...
  11. G

    Maxing non combat and how to use maps

    Ok most of the script is now working. Thank you for your help. I'm having trouble with sorting. When I sort with my previous map, I ended up with the all the data moving around to the wrong effect. So I changed my file to be: 1->Invisibility potion->Simply Invisible->less->20->1 2->Chunk of...
  12. G

    Maxing non combat and how to use maps

    Ok from the info you gave me, I think I can figure it out. Thank you very much.
  13. G

    Maxing non combat and how to use maps

    Ok now that I have the map, How do I link to each cell? How do I change the scipt to do this? for each effect in maps if ((have_effect($effect[EFFECT]) < 1) && mall_price($item[ITEM]) < ( PricePerAdv * TURNS * MULTIPLIER)){ use(1, $item[ITEM]); }
  14. G

    Maxing non combat and how to use maps

    I do know that it is easy to get to the max with equipment but there is several reason why you would want to get to +25 or -25 without having to change your equipment. Farming comes into mind where replacing a piece of equipment would be detrimental the goal. Place where outfits are needed, you...
  15. G

    Maxing non combat and how to use maps

    Hi everyone. I'm new to scripting and even after reading the wiki I can't figure out maps. I'm trying to make a script that will get me to a specific combat rate modifier at a specific price per adventure. I would like to know if there is a way to use a maps so I don't have to copy paste each...
  16. G

    Set a variable depending on if a bot is online or not

    Awesome. Thank you for the quick answer.
  17. G

    Set a variable depending on if a bot is online or not

    I'm trying to make a script check which clanbot is online and ask them for a buff if I can't cast it. If I put only one BotName and BotID it works fine but I get "Unknown variable 'BotID' (test.ash, line 24)" if I try to make it switch if the bots aren't online. How do I set the variable to...
Back
Top