- Jul 21, 2012
- 114
- 2
- 45
hi, im having prob with this npc script have managed to sort a few ither scripts out and getting used to it now but this 1 is reallly starting to bug me as just cant get it right
[@Main]
#IF
CHECKLEVELEX < 20
#SAY
Hello <$USERNAME>, are you here to collect \
your free pet? \ \
<Yes Please/@mobs>\
<No Thankyou/@exit>
#ELSESAY
<$USERNAME>, You do not need these pets now be gone with you!\\
<OK..../@exit>
[@mobs]
#IF
CHECKSLAVECOUNT 0
#ACT
RECALLMOB BlackMaggot
Break
Close
what have i done wrong ?
with the checkslavecount 0 i get a error in m2server have tried checkbbcount 0 too, if i remove the slave count part it gives pets but people can just keep clicking getting as many pets @ once as they want i want it to just give 1 pet and not work again after unless u lose your pet
EDIT i have fixed this was a simple mistake but been using the td commands guide and it ddint say i need to do CHECKSLAVECOUNT = <<<<< the = symbol very stoopid mistake
[@Main]
#IF
CHECKLEVELEX < 20
#SAY
Hello <$USERNAME>, are you here to collect \
your free pet? \ \
<Yes Please/@mobs>\
<No Thankyou/@exit>
#ELSESAY
<$USERNAME>, You do not need these pets now be gone with you!\\
<OK..../@exit>
[@mobs]
#IF
CHECKSLAVECOUNT 0
#ACT
RECALLMOB BlackMaggot
Break
Close
what have i done wrong ?
with the checkslavecount 0 i get a error in m2server have tried checkbbcount 0 too, if i remove the slave count part it gives pets but people can just keep clicking getting as many pets @ once as they want i want it to just give 1 pet and not work again after unless u lose your pet
EDIT i have fixed this was a simple mistake but been using the td commands guide and it ddint say i need to do CHECKSLAVECOUNT = <<<<< the = symbol very stoopid mistake
Last edited: