Solved need a hand with a free pet script please

Desolation Mir2 (Med Rate Server)

crstal

Dedicated Member
Dedicated Member
Sep 4, 2011
19
0
27
hey, basically i want a npc to give out free noob pets to levels under 40, but cannot be used if your over level 40, could you tell me if this would work please??

[@main]
#IF
checklevel < 40
#ELSESAY
You are not the correct level to use me \ \
<Ok../@exit>


#SAY
Hello <$USERNAME>, are you here to collect \
your free noob pets? \ \
<Yes Please/@mobs>
<No Thankyou/@exit>


[@mobs]
#IF
checkslavecount 0
#ACT
recallmob NoobPet 1 3
BREAK
CLOSE

thankyou :)
 

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
I think you have posted in the wrong section, if you have Mir 3 the command you are looking for is

#IF
CHECKLEVEL 40

(this will check if you are 40 or over )

#IF
!CHECKLEVEL 40

(this will check that you are 40 or less)

If you are using Mir 2 then I have no idea :)
 
Upvote 0

tkila

Dedicated Member
Dedicated Member
Jun 8, 2011
613
14
104
[@main]
#SAY
Hello <$USERNAME>, are you here to collect \
your free noob pets? \ \
<Yes Please/@mobs>
<No Thankyou/@exit>



[@mobs]
#IF
!CHECKLEVEL 40
checkslavecount 0
#ACT
recallmob NoobPet 1 3
BREAK
CLOSE
 
Upvote 0

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,357
56
335
England
[@main]
#IF
CHECKLEVEL < 40
#SAY
Hello <$USERNAME>, are you here to collect \
your free noob pets? \ \
<Yes Please/@mobs>
<No Thankyou/@exit>
#ELSESAY
You are not the correct level to use me \ \
<Ok../@exit>

[@mobs]
#IF
checkslavecount 0
#ACT
recallmob NoobPet 1 3
BREAK
CLOSE


Should work, put the SAY before the ELSESAY.
 
Upvote 0

tkila

Dedicated Member
Dedicated Member
Jun 8, 2011
613
14
104
you'r wrong my brother its !CHECKLEVEL 40 not checklevel 40<

how i did it work's 100% XD
 
Upvote 0