- 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
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