Search results

  1. D

    get_property weirdness and auto-abort semirare counter

    I wanted to write a 'simple' castle farming script that collects semi-rares (newgo.ash). I ran into two problems. 1) EDIT: I was getting strange behaviour from get_property() but it was a hidden typo. 2) The semirare counters abort the script even though I check the result of the boolean...
  2. D

    Multiple arguments from the cli

    How do I pass multiple arguments from the cli to an ash function now? If I have a file foo.ash: "void main(int fint, string fstring) { print(fstring) }" I used to be able to type something like: "foo 12 bar" into the cli to pass "12" and "bar" to main in foo.ash, but that doesnt work now. Mafia...
  3. D

    Giving away buffs between battles...

    I was getting too much mp as I was adventuring so I wrote this script to run in the moods to give away all the extra-mp. (Hearts were costing too much and I was buffed alot already myself). Its a quick script that I wrote and edited while adventuring and asking people in chat if anyone wanted...
  4. D

    PvP Diet Balance and Wine tasting. [spoilers]

    I want to make a set of scripts that save the current consumption records and compare them to the last 30days records for use in eating the best food/booze to get adventures and improve mini's. I think this is possible but rather a large process. Has anyone made anything like this before? With...
  5. D

    Do I have [item] ?

    I wanted to write a little script to anwser the question: Do I have this item? The idea is that it checks inventory, then closet, then hagnks, then clan stash and tells me if I have the item. I wanted it to run from the gCLI and use the same fuzzy matcher that the gCLI uses, so I can also test...
  6. D

    Changing equipment in a between battle script. Is this possible?

    I have sometimes written scripts that change my equipment based on various conditions between battles. However mafia always changes back to the items that were equipt when the script started. I understand the reasoning behind this is probably because between battles scripts may change into...
  7. D

    a Buffbot script

    Here is a script i have been working on to autorun a clan buffbot. It eats, drinks, spleens, adventures at the gym until mp is full. Then runs the buffbot for a while, autobuffs some clan members then goes back to the gym. Eventually it runs out of adventures and just sits in buffbot mode. The...
  8. D

    Mailing crimbo goodies for clan

    I want to make a script that will send a list of items to a list of players, via k-mail or gift boxes if they are in ronnin/hc with a merry crimbo message attached. This is for a clan crimbo contest. I found efilnikufecin's tradearray.ash script which sets up a trade proposal based on an item...
  9. D

    Giving buffs.

    Is there a way to scipt buffing other people in ash? I want to make a script that buffs a player with a bunch of buffs, but the use_skill function doesnt take a target...
Top