if(have_effect($effect[Coated in Slime]) < 8)
visit_url("clan_slimetube.php?action=chamois&pwd");
// Change the 8 on this line to any other number.
if(have_effect($effect[Coated in Slime]) < 8 && have_effect($effect[Coated in Slime]) > 0)
visit_url("clan_slimetube.php?action=chamois&pwd");
if(have_effect($effect[Coated in Slime]) > 0) {
print("Using chamois.", "blue");
visit_url("clan_slimetube.php?action=chamois&pwd");
}
if(have_effect($effect[Coated in Slime]) > 0)
abort("Failed to use a chamois. You'll need to find some other way to clean yourself up.");
Date: 2:21:40 AM, Wednesday, June 03, 2009
Message:
Slimy Location, Items, Monsters, Element!
The Slime Tube is now a normal location, although auto-adventuring there
currently requires scripting to use chamoix when appropriate (it's not
expressible in a mood). Both choice adventures are supported.
All currently known slime-related items are supported, except for the moist
sack (which still lacks an ID on the Wiki), although there are almost
certainly more to be discovered.
For what it is worth, the solution I'm currently using is this script:
Code:if(have_effect($effect[Coated in Slime]) > 0) { print("Using chamois.", "blue"); visit_url("clan_slimetube.php?action=chamois&pwd"); } if(have_effect($effect[Coated in Slime]) > 0) abort("Failed to use a chamois. You'll need to find some other way to clean yourself up.");
It is called by my moodTrigger On: When an effect is gained
Check for: Coated in Slime
Command: if Coated in Slime < 8; call chamois.ash
Thanks to bigevildan for the CLI command to put into my mood.
Yep, abort will stop auto-adventuring. Glad to help; you have my thanks for all the spading you do.Ohh, awesome, thanks for these scripts guys. The abort that's called by failure will stop auto-adventuring, right?