how wud i make a map so wen the person teles in the mobs spawn and wen they get recalled out of the map all the rest of the mobs die
For only one person on map at a time.
[@main]
Hello there, wanna go to my cave?\
<Yes/@next>\
<Nevermind/@exit>
[@next]
#IF
CHECKMAPHUMANCOUNT mapname = 0
#ACT
CLEARMAPMON mapname <--clears old mobs
MONGENEX mapname co-ordX co-ordY mobname range count
Mapmove mapname co-ordX co-ordY
Give Townteleport 1
break
#ELSEACT
goto @no
[@no]
There is already someone fighting there, check\
back later please.\
<Close/@exit>
[@next]
#IF
CHECKMAPHUMANCOUNT mapname = 0
#ACT
CLEARMAPMON mapname <--clears old mobs
MONGENEX mapname co-ordX co-ordY mobname range count
Mapmove mapname co-ordX co-ordY
Give Townteleport 1
break
#ELSEACT
goto @no
[@no]
There is already someone fighting there, check\
back later please.\
<Close/@exit>
[@next]
#IF
CHECKMAPHUMANCOUNT mapname = 0
#ACT
CLEARMAPMON mapname <--clears old mobs
MONGENEX mapname co-ordX co-ordY mobname range count
Mapmove mapname co-ordX co-ordY
Give Townteleport 1
break
#ELSESAY
There is already someone fighting there, check\
back later please.\
<Close/@exit>
[@next]
#IF
CHECKMAPHUMANCOUNT mapname = 0
#ACT
CLEARMAPMON mapname <--clears old mobs
MONGENEX mapname co-ordX co-ordY mobname range count
Mapmove mapname co-ordX co-ordY
Give Townteleport 1
break
#ELSESAY
There is already someone fighting there, check\
back later please.\
<Close/@exit>
Code:[@next] #IF CHECKMAPHUMANCOUNT mapname = 0 #ACT CLEARMAPMON mapname <--clears old mobs MONGENEX mapname co-ordX co-ordY mobname range count Mapmove mapname co-ordX co-ordY Give Townteleport 1 break #ELSEACT goto @no [@no] There is already someone fighting there, check\ back later please.\ <Close/@exit>
Sorry to be a pain but why not use ELSESAY here? :P
Code:[@next] #IF CHECKMAPHUMANCOUNT mapname = 0 #ACT CLEARMAPMON mapname <--clears old mobs MONGENEX mapname co-ordX co-ordY mobname range count Mapmove mapname co-ordX co-ordY Give Townteleport 1 break #ELSESAY There is already someone fighting there, check\ back later please.\ <Close/@exit>
