Log in

View Full Version : can someone edit this script



clos16
01-23-2012, 01:41
Can someone edit this script so my char goes and deposits when he has 30 or less cap? i cant figure out how to work the iftrue command things. thanks




:start
setChaoticMovesON
onGMpause
setLootOn
setBot OldLootMode=1
setLoot D7 0B
setLoot 13 2D
setLoot F5 06
setMeleeKill Starving Wolf
setMeleeKill bug
setMeleeKill Goblin Assassin
setPriority goblin assassin:+3
setMeleeKill Goblin Scavenger
setPriority goblin scavenger:+2
setMeleeKill rat
setMeleeKill Poacher
setMeleeKill wolf
setMeleeKill bat
setMeleeKill goblin
setPriority goblin:+1
setMeleeKill pig
move 32652,31698,7
IfTrue ($mycap$0<=40 Goto $nlineoflabel:dp$
move 32638,31735,7
move 32625,31788,7
:hunt
move 32620,31794,6
move 32615,31783,6
move 32608,31764,6
move 32584,31765,6
IfTrue ($mycap$0<=40) Goto $nlineoflabel:deposit$
move 32566,31767,6
move 32553,31775,6
move 32537,31781,6
move 32538,31796,6
move 32537,31813,6
move 32545,31820,6
move 32553,31824,6
move 32552,31833,6
move 32548,31834,6
move 32546,31834,5
move 32552,31841,5
move 32556,31849,5
move 32547,31852,5
move 32529,31845,5
move 32521,31838,5
move 32531,31854,6
move 32553,31856,6
move 32567,31856,6
move 32580,31856,6
move 32600,31838,6
move 32602,31823,6
move 32613,31804,6
move 32617,31794,6
IfTrue ($mycap$0<=40) Goto $nlineoflabel:deposit$
gotoScriptLine $nlineoflabel:hunt$
:deposit
move 32620,31790,6
move 32625,31788,7
move 32638,31735,7
move 32681,31686,7
move 32684,31687,8
setChaoticMovesON
sayMessage Hi
waitX 2
sayInTrade Deposit all
waitX 2
sayInTrade Yes
putLootOnDepot
setChaoticMovesOFF
gotoScriptLine $nlineoflabel:start$
:dp
move 32681,31686,7
move 32684,31687,8
setChaoticMovesON
sayMessage Hi
waitX 2
sayInTrade Deposit all
waitX 2
sayInTrade Yes
putLootOnDepot
setChaoticMovesOFF
gotoScriptLine $nlineoflabel:start$

Hans Henrik
01-23-2012, 06:04
umm,
>>>>>$mycap$0<=40
>>>>$0<=40
>>>0<=40
>>0<=
>0
i think i found your problem! :p
remove that 0