tic-tac1
06-21-2012, 03:42
Hey guys, new to the forums. I've been toying with some of these scripts, trying to mod them to work with a paladin rather than a knight, and one issue keeps coming up. Most of the scripts for knights are set to return to town on low cap. As a paladin, that doesn't work so well because your cap increases as your spears break. I can't seem to get the script right to make it return on low spears. This is my attempt at editing Saracene's Mount Sternum script. I basically just stand there when I run it. Nothing happens. I have a feeling it has something to do with the ifTrue line. Does anyone know what's wrong?
setChaoticMovesOFF
#By Saracene
setFriendly
setMeleeKill cyclops drone
setMeleeKill cyclops smith
setMeleeKill cyclops
setMeleeKill bat
setPriority cyclops smith:+1
setPriority cyclops drone:+2
setLootOn
setLoot D7 0B
setLoot 06 17
setLoot B9 25
setLoot E6 1C
setLoot 38 0D
setLoot 15 0C
setLoot 0A 01
setLoot EC 00
setLoot 1C 1D
IfTrue ($num-equipped-ammount:06$#number<=#6) Goto $nlineoflabel:depo$
move 32449,32067,8
move 32407,32065,8
move 32421,32048,8
move 32434,32048,8
move 32453,32057,8
move 32463,32043,8
move 32452,32069,8
move 32447,32092,8
move 32438,32103,8
move 32452,32100,8
move 32461,32113,8
move 32478,32114,8
move 32478,32114,8
move 32476,32089,8
move 32492,32051,8
move 32485,32035,8
move 32475,32035,8
move 32487,32061,8
move 32478,32089,8
move 32450,32095,8
move 32454,32084,8
gotoScriptLine 0
:depo
move 32447,32069,8
move 32449,32069,7
move 32444,32137,7
move 32367,32204,7
move 32344,32230,7
sayMessage hi
waitX 2
sayInTrade deposit all
waitX 2
sayInTrade yes
waitX 2
setChaoticMovesOFF
#By Saracene
setFriendly
setMeleeKill cyclops drone
setMeleeKill cyclops smith
setMeleeKill cyclops
setMeleeKill bat
setPriority cyclops smith:+1
setPriority cyclops drone:+2
setLootOn
setLoot D7 0B
setLoot 06 17
setLoot B9 25
setLoot E6 1C
setLoot 38 0D
setLoot 15 0C
setLoot 0A 01
setLoot EC 00
setLoot 1C 1D
IfTrue ($num-equipped-ammount:06$#number<=#6) Goto $nlineoflabel:depo$
move 32449,32067,8
move 32407,32065,8
move 32421,32048,8
move 32434,32048,8
move 32453,32057,8
move 32463,32043,8
move 32452,32069,8
move 32447,32092,8
move 32438,32103,8
move 32452,32100,8
move 32461,32113,8
move 32478,32114,8
move 32478,32114,8
move 32476,32089,8
move 32492,32051,8
move 32485,32035,8
move 32475,32035,8
move 32487,32061,8
move 32478,32089,8
move 32450,32095,8
move 32454,32084,8
gotoScriptLine 0
:depo
move 32447,32069,8
move 32449,32069,7
move 32444,32137,7
move 32367,32204,7
move 32344,32230,7
sayMessage hi
waitX 2
sayInTrade deposit all
waitX 2
sayInTrade yes
waitX 2