- Nov 2, 2009
- 657
- 55
- 115
hi there im trying to make a lastmanstanding script here is the script :
[@main]
#IF
CHECKHUM fs1 = 1
#act
goto @champ
#elseact
goto @reject
[@reject]
#say
You are not alone in this\
Room, Kill everybody before you can access me.\ \ \ \
<ok/@exit>\
[@champ]
#IF
HOUR 18 19
Min 30 59
#say
Congratulations <$USERNAME>\
You have fought well and deserve the prize you\
Will now recieve.\ \
<Collect your prize/@Prize>\
#elsesay
I don`t start work until 6:30pm, Or\
It`s after 7pm, and i dont work after this hour.\ \ \ \
<ok/@exit>\
[@prize]
#IF
CHECKHUM f003 2
#act
GIVE ENTOURAGESTONE 1
Mapmove f003 43 38
#ELSEACT
GOTO @NOPE
[@NOPE]
Somebody is on this map.\ \
<Close/@exit>\
but when theres 2 people in the map it gives them both the prize how do i do it so only 1 person gets the prize , and also how do i do it so it only checks that there is 1 on the map ? and i need to make sure that whoever goes into the map cant just click npc and collect a prize for being in there
ty in advance
stonecold
[@main]
#IF
CHECKHUM fs1 = 1
#act
goto @champ
#elseact
goto @reject
[@reject]
#say
You are not alone in this\
Room, Kill everybody before you can access me.\ \ \ \
<ok/@exit>\
[@champ]
#IF
HOUR 18 19
Min 30 59
#say
Congratulations <$USERNAME>\
You have fought well and deserve the prize you\
Will now recieve.\ \
<Collect your prize/@Prize>\
#elsesay
I don`t start work until 6:30pm, Or\
It`s after 7pm, and i dont work after this hour.\ \ \ \
<ok/@exit>\
[@prize]
#IF
CHECKHUM f003 2
#act
GIVE ENTOURAGESTONE 1
Mapmove f003 43 38
#ELSEACT
GOTO @NOPE
[@NOPE]
Somebody is on this map.\ \
<Close/@exit>\
but when theres 2 people in the map it gives them both the prize how do i do it so only 1 person gets the prize , and also how do i do it so it only checks that there is 1 on the map ? and i need to make sure that whoever goes into the map cant just click npc and collect a prize for being in there
ty in advance
stonecold
Last edited: