NPC flags don't work..

Mu online season 21 - grand opening

MentaL

Jev For Admín!
VIP
Mar 3, 2004
3,845
553
385
Cardiff
Fire said:
Code:
[@main]
#IF
CHECK [flag] 1
#ACT
goto @used
#ELSEACT
goto @speech
 
[@used]
#IF
#SAY
You have already used me
 
[@speech]
#IF
SET [flag] 1
#SAY

there you go

....... cleaned up..

[@main]
#IF
CHECK [flag] 1
#ACT
goto @used
#ELSEACT
goto @speech

[@used]
You have already used me

[@speech]
#IF
SET [flag] 1
#SAY
 

MiloFoxburr

LOMCN VIP
VIP
Mar 23, 2003
7,276
207
350
Dublin, Ireland
Those two scripts look a bit prone to npc hacking surely this would work better

[@main]
#IF
check [Flag] 1
#ACT
#SAY
you have already used me
#ELSEACT
SET [flag] 1

I know that was only a basic script bit its nice to protect npc's
 

™blade™

Golden Oldie
Golden Oldie
Oct 31, 2004
799
1
155
can i use this as well. say there is an list of items but u can only get one will that work the same ?