room npc that chjecks for mobs and personin first

smoochy boys on tour

Bless

Dedicated Member
Dedicated Member
Mar 23, 2003
208
0
112
hi all ive edited this little script just woundering if this would work correnctly and if not can some one fix it,

i want it to check if someone is in, and if mobs r in,
then if no one in teleport 1 or grup into room and spawn mobs

;;;;;;;;;;;; Bless Scripts
}
[@main]

#SAY
Hi And welcome i can teleport you to a magical place. \
<yes ide like to go!/@teleporttower> \
<cant be botrhered at the moment !/@exit> \

[@teleporttower]
#IF
checkhum "map number" 1 (number people in map)
checkmonmap "map number" ApeLord0 0 (mob and number)
checkitem teleport orb 1 (item you want to be yoused)
#SAY
The kingroom is already occupied or you have already been there.\
Please come back later.\
<OK, Bye/@exit>\
#ACT
mapmove 0 139 242 (map number, cord cord)
#ELSESAY
The KingRoom is free, Please wait whilst moving.\
<OK, Bye/@exit>\
#ELSEACT
take gold 5000
mapmove D5205 24 29 (map cord cord)
give townteleport 1
mongenp "D5205,24,28,1" ApeLord0 1 (map to generate mobs on arrival in map)(number mobs)
take teleport orb 1
break
}
;;;;;;;;;;;; Bless Scripts
 

Azura

Mir3 Coder & Adviser
Mar 12, 2005
3,249
111
300
Scripts should be

[@main]
{ //Opens Script

Script here

} //Closes Scipt
 
Upvote 0

Zordon

Golden Oldie
Golden Oldie
Apr 26, 2008
1,176
20
145
Manchester, UK
hi all ive edited this little script just woundering if this would work correnctly and if not can some one fix it,

i want it to check if someone is in, and if mobs r in,
then if no one in teleport 1 or grup into room and spawn mobs

;;;;;;;;;;;; Bless Scripts
}
[@main]

#SAY
Hi And welcome i can teleport you to a magical place. \
<yes ide like to go!/@teleporttower> \
<cant be botrhered at the moment !/@exit> \

[@teleporttower]
#IF
checkhum "map number" 1 (number people in map)
checkmonmap "map number" ApeLord0 0 (mob and number)
checkitem teleport orb 1 (item you want to be yoused)
#SAY
The kingroom is already occupied or you have already been there.\
Please come back later.\
<OK, Bye/@exit>\
#ACT
mapmove 0 139 242 (map number, cord cord)
#ELSESAY
The KingRoom is free, Please wait whilst moving.\
<OK, Bye/@exit>\
#ELSEACT
take gold 5000
mapmove D5205 24 29 (map cord cord)
give townteleport 1
mongenp "D5205,24,28,1" ApeLord0 1 (map to generate mobs on arrival in map)(number mobs)
take teleport orb 1
break
}
;;;;;;;;;;;; Bless Scripts

a bit off topic, but i see you've used parts of my script here if im not mistaken lol
 
Upvote 0

Bless

Dedicated Member
Dedicated Member
Mar 23, 2003
208
0
112
yes i says that at start of topic i edited this lil script :L hope you dont mind ? if so drop me a pm and ill remove this .
 
Upvote 0