Script problem..

smoochy boys on tour

Serenity

Dedicated Member
Dedicated Member
Jul 3, 2010
159
1
45
Hi all

I have recently made my own delvl script but to make sure they cant just to the next delvl without doing the 1st ive used a flag system for checking.. - example

[@1]
#IF
CHECK [501] 0
CHECKLEVEL 40000
#ACT
SaveValue "QuestDiary\Delevel1.txt" Main %USERNAME
EVENTMSG [GROBAL] "Congratulations <$USERNAME> just done there 1st delvl.." 159
HLSCRIPTCMD CHANGELEVEL - 10000
GIVE LegendRing 2
SET [501] 1
#SAY
Congratz u have completed ur 1st delevl..\
#ELSESAY
You are not yet level 40k..\

How do i reset the SET [501] 1 to refresh the script so its basicly starts from the beginning again?