Question reguarding NPC command

Skully26

Dedicated Member
Dedicated Member
Feb 13, 2009
14
0
27
Hi all just a quick question for you as i been searching forum and im unable to find...

i was wondering what is the command to add to an NPC to check a room before teleporting somebody into it..

i dont want 2 ppl in the same room while my script is running..

Thanks

Skully...
 

Draka

Dedicated Member
Dedicated Member
Jan 22, 2008
72
0
53
[@T2]
#IF
Checkhum D1 1
#Say
Sorry but know its someone there
#ElsaAct
mapmove D1
#ElseSay
enjoy it.

first you check, if the check its ok is someone into de the map, the #say gone to tell if someone there, but the if not right ando no body inte the map, the else act and else say, goes to work.

Sorry for my english ^^.
 
Upvote 0

Bless

Dedicated Member
Dedicated Member
Mar 23, 2003
208
0
112
#IF
Checkhum D1 1

#Say
Sorry but someone is in here\
try again later.\\

#ElseSay
you can go\

<nner/@enter>

[@enter]
#ElsaAct
mapmove D1




NOT TO SURE IF MINE WILL WORTK MABA THOGH GIVE IT A TRY ;)
 
Upvote 0

Skully26

Dedicated Member
Dedicated Member
Feb 13, 2009
14
0
27
can some one please tell me where im going wrong...

[@BossMap]
#IF
Checkhum Boss1 1
CHECKITEM BossSpirit 1
CHECKGOLD 5000000 1
#ElsaAct
TAKE GOLD 5000000
TAKE BossSpirit
MAPMOVE Boss1
monclear Boss1
GIVE BossToken 1
#ElseSay
Very foolish person thinking you can con me.....
 
Upvote 0