Log in

View Full Version : Stop loot if cap <=X ? Please help



peckishas
11-18-2011, 13:04
...


...


...


...

darijj
11-30-2011, 14:25
i want it 2 plx help us :d

elmasmalo
12-07-2011, 21:10
The code supposes to start with IfTrue ($mycap$#number<=#1000) now the "then" statement you may now put whatever there, maybe go to depot or stop the bot or setLootOff for spears you simply add in the "then" add the spear itemID in hex to recognize the spears, then set lootoff

Hans Henrik
01-14-2012, 03:44
yes basically what elmasmalo says..

something like this:


#/*code here*/
IfTrue($mycap$ #number<# 100) goto $lineoflabel:disablelooting$
:afterchecked
#/*code here*/
#/*code here*/
#/*code here*/
:disabelooting
setLootOff
gotoScriptLine $lineoflabel:afterchecked$

(untested)