Help with script

smoochy boys on tour

Bless

Dedicated Member
Dedicated Member
Mar 23, 2003
208
0
112
How would i make these scrips check if no 1 is in, and then clear mobs when no 1 is in... and then spawn more when some 1 goes in...i want only 1 person in room at a time and when no 1 is in room. clear the mobs..also at end ov event if they clear mobs give them a item.

;;;;;;;;;;; Bless Scripts
[@main]
#IF
#SAY
Hi And welcome You Ready For A Challange,\
You think you can stay alive, if you can \
ill reward you a very good item,\
This is Only for level 500+.\
And you must have a teleportOrb,\
<yes i can do it!/@stayalive> \
<cant be botrhered at the moment !/@exit> \\

[@stayalive]
#IF
CheckHum E001 0
CHECKLEVEL 500
CHECKITEM TeleportOrb 1
#ACT
MAPMOVE E001 22 46
GIVE Townteleport 1
MONGENP "E001,38,42,140" RedDragon 5
MONGENP "E001,38,42,140" OmaLord 50
MONGENP "E001,38,42,140" EvilEmperor 4
MONGENP "E001,38,42,140" BoarKing 2
MONGENP "E001,38,42,140" RoyalOcto 50
MONGENP "E001,38,42,140" RedDragonProtector 5
TAKE TeleportOrb 1
(when person clears mobs i want to automatically give person item)
(if person tt's out or dies want mobs to be cleared)
#ELSESAY
The Room is already occupied.\
<OK, Bye/@exit>\

;;;;;;;;;;;; Bless Script




also for this 1 also
.............................................................
;;;;;;;;;;;; Bless Scripts
[@main]
#IF
#SAY
Hi And welcome i can teleport you to a magical place,\
but only if you have a ExpOrb. \
<yes ide like to go!/@ExpRoom> \
<cant be botrhered at the moment !/@exit> \\

[@ExpRoom]
#IF
CHECKITEM TeleportOrb 1
CheckHum E001 0
#ACT
MAPMOVE E001 22 46
GIVE Townteleport 1
MONGENP "E001,38,42,140" ExpGhost 500
TAKE TeleportOrb 1
#ELSESAY
The ExpRoom is already occupied or you have already been there.\
<OK, Bye/@exit>\

;;;;;;;;;;;; Bless Script









..........................................

as you can see there 2 events a exp 1...... and a kill all one............
there both on same map...as i want to hold events like these only 1 person at a time and youse one map....
 

Gangsta

LOMCN Veteran
Veteran
Loyal Member
Apr 30, 2004
302
3
65
have i done summit wrong beacuse i have added script it lets me in room but the bosses dont spawn do i need 2 put some think in a folder ?
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
38,42,140 for coords and radius seems wrong to me.

I would expect the coordinates to be at the center of the map and the radius to be approximately half the xx or yy dimensions.

eg - a map of 250 by 350, centre would be 125,175 and radius anywhere between 125 and 175.
 
Upvote 0