script question

Join Discord

msmir

Dedicated Member
Dedicated Member
Dec 29, 2010
52
1
35
any difference between these ?

no.1
[@move4]
#IF
checkgold 500
#ACT
take gold 500
mapmove 0 289 617
break
#ELSESAY
You don't have enough gold to use my service!\
Be gone, don't waste my time again!\ \


no.2
[@move4]
#IF
checkgold 500
#ACT
take gold 500
mapmove 0 289 617
#ELSESAY
You don't have enough gold to use my service!\
Be gone, don't waste my time again!\ \



What does (Break) use for?
 

Bon

Legend
Legendary
Jul 29, 2004
6,726
330
300
Kent, UK
break will stop the script goin any futher, close will close the window.

break doesnt do anything in that script. example of where ud use break:

#IF
checkgold 2500
#ACT
take gold 2500
mapmove 0 289 617
break

#IF
checkgold 1500
#ACT
take gold 1500
mapmove 1 289 617
break

#IF
checkgold 500
#ACT
take gold 500
mapmove 2 289 617
break



So as you can see, without them breaks.. it would just keep goin thro all the #if commands, it would end up takin all ur gold.

hope that makes sense lol