Log in

View Full Version : Stop EXPing if >= X exp



nizlov
04-03-2012, 06:06
hello

i would like to make my characters avoid getting 9 lvl on rookgaard but I do not know how to do that exactly




IfTrue ( $myexp$ #number>=# 6300 ) goto ...now what?

how to make it stop hunting and disconnect?

any help will be much appreciated

provocate
04-03-2012, 13:26
Create a new label somewhere in the script, preferably at the end~ ... For example :logoff


IfTrue ($myexp$#number>=#6300) Goto $nlineoflabel:logoff$
..... <other stuff in script, like wpts and other actions>
:logoff
sayMessage exiva close

You might put 'IfTrue ($myexp$#number>=#6300) Goto $nlineoflabel:logoff$' several times in your script, like after few waypoints, so it'll log exactly like you wished it would.

Anyway, I have to give credits to Malmis, helped myself with his awesome script 'StartNGo Rook2Main' which can be found here: http://www.blackdtools.net/showthread.php?57419-StartNGo-Rook2Main

Might be useful for you. :D

nizlov
04-04-2012, 17:53
thank you so much!