Log in

View Full Version : stealth ring+log out



Torozio
04-02-2016, 02:47
I need a script that autoequips a stealthring and logs out when I run out of mana potions, how can i do that? I would do it but didnt have time to learn the programming language yet :c

Beggari
04-02-2016, 03:48
This will FORCE logout when you have 5 or less mana potions (you can change the number on 3rd line), even if you're attacking a monster (which might be good in case you need this cond to avoid getting killed by traps).


$countitems:0C 01$
#number<=#
5
1000
1000
0
exiva #E9 0B 09
$hex-equiped-item:09$
#string=#
0E 0C
1000
1000
0
exiva close

Torozio
04-02-2016, 16:03
wow, thank you so much :o