Searching didn't yield anything, so I guess I may be the first to stumble upon this ...
So, I've been doing >50 double-nodule runs manually, with the helps of 1 combat macro to escape or kill as appropriate, and 3 chat macros.
1st macro to just heal, 2nd to dress up for max ML and put a proper familiar, and 3rd macro to dress up like a wuss, put the barrrnacle, heal up and then do /chamoisgoagain which wipes off my slimy cheeks properly and drops me feet-first back into the tube.
Trigger text:
Macro name is just "8" because I'm lazy.
So I tried to write an ash script, my first ever, but I fail miserably - even after I got it to "run."
All I tried to do was make a list of things that I do 37 times (in a row, yes) each time, and have mafia do that. No, don't point me to other people's slime scripts, that's not the point of this post at all, thanks.
At the start of the whole thing, I have this line:
The script appears to be calling macro 8, but somehow not really:
it changes my outfit as desired, it puts the barrrnacle and heals me up. But for some reason, it won't use the chamois and enter the tube.
When I refresh the relay browser after script execution, I see the new outfit, familiar, HP, but still only 4 turns of Coated in Slime.
(Luckily, I have a check for (have_effect($effect[Coated in Slime]) > 6) after this so the rest does not execute at all.)
This leads me to 2 conclusions:
1. chat_macro() does not actually just send the macro name to the chat and have the game execute it all ... could it be that it reads the trigger text and tries to do all the work itself? If so, why?
2. chat_macro() doesn't want to deal with a chat command that makes you spend an adventure, apparently. Of course, for now, /chamoisgoagain is the only game chat command of that type.
So ... how do I make mafia execute a chat macro as specified in the in-game macro listing? As in, completely?
edit to add: another macro ending with /chamois instead, and a visit_url to the slimetube to get my effect in the script works, so at least it's not *that* urgent for me.
Still, I think there is a tiny bit that may need a fixing at some point.
So, I've been doing >50 double-nodule runs manually, with the helps of 1 combat macro to escape or kill as appropriate, and 3 chat macros.
1st macro to just heal, 2nd to dress up for max ML and put a proper familiar, and 3rd macro to dress up like a wuss, put the barrrnacle, heal up and then do /chamoisgoagain which wipes off my slimy cheeks properly and drops me feet-first back into the tube.
Trigger text:
Code:
/outfit min ml && /fam barrr && /cast cocoon && /chamoisgoagain
So I tried to write an ash script, my first ever, but I fail miserably - even after I got it to "run."
All I tried to do was make a list of things that I do 37 times (in a row, yes) each time, and have mafia do that. No, don't point me to other people's slime scripts, that's not the point of this post at all, thanks.
At the start of the whole thing, I have this line:
Code:
chat_macro("/8");
it changes my outfit as desired, it puts the barrrnacle and heals me up. But for some reason, it won't use the chamois and enter the tube.
When I refresh the relay browser after script execution, I see the new outfit, familiar, HP, but still only 4 turns of Coated in Slime.
(Luckily, I have a check for (have_effect($effect[Coated in Slime]) > 6) after this so the rest does not execute at all.)
This leads me to 2 conclusions:
1. chat_macro() does not actually just send the macro name to the chat and have the game execute it all ... could it be that it reads the trigger text and tries to do all the work itself? If so, why?
2. chat_macro() doesn't want to deal with a chat command that makes you spend an adventure, apparently. Of course, for now, /chamoisgoagain is the only game chat command of that type.
So ... how do I make mafia execute a chat macro as specified in the in-game macro listing? As in, completely?
edit to add: another macro ending with /chamois instead, and a visit_url to the slimetube to get my effect in the script works, so at least it's not *that* urgent for me.
Still, I think there is a tiny bit that may need a fixing at some point.
Last edited: