Okay, so i want this NPC to give out one HeavenRune on clicking and no more. But my flags dont seem to be working properly and can keep clicking for multiple runes.
[@main]
#IF
CHECKFLAG [504] 1
#ACT
GOTO @Complete
BREAK
#IF
CHECKFLAG [504] 0
#ACT
Set [504] 1
Give HeavenRune 1
#Say
Greetings <$USERNAME>, i am Saint Cathryn...\
I am the Patron Saint of Kindness, and banisher of\
Envy... Your progress impresses me. Heres a special\
signature of your visit to me, it will let Vyrio know\
of your visit to me.... Farewell, and good luck, great\
<$USERNAME>.\
<Thanks, St. Cathryn/@exit>\
[@Complete]
You found me, welldone. Find the other 6 Saints \
and return to Vyrio....\
<Okay/@exit>\
[@main]
#IF
CHECKFLAG [504] 1
#ACT
GOTO @Complete
BREAK
#IF
CHECKFLAG [504] 0
#ACT
Set [504] 1
Give HeavenRune 1
#Say
Greetings <$USERNAME>, i am Saint Cathryn...\
I am the Patron Saint of Kindness, and banisher of\
Envy... Your progress impresses me. Heres a special\
signature of your visit to me, it will let Vyrio know\
of your visit to me.... Farewell, and good luck, great\
<$USERNAME>.\
<Thanks, St. Cathryn/@exit>\
[@Complete]
You found me, welldone. Find the other 6 Saints \
and return to Vyrio....\
<Okay/@exit>\