Dunno if this has been done before but heres a quick guide on how to set flags on a NPC.
How To Set:
Set [???] 1
???= A Random Flags Number
1 = Its been set
Fill in the question mark with your required number make sure the number you choose is not in use by another quest or you will get confused. Once you set a flag on someone it will permantly set that flag on the character unless you choose differntly
If you wanted to check a flag it would be
Check [???] 1
Its quite hard to explain so heres a few exsamples
#IF
check [389] 1
#SAY
You Have Done The Quest
#ELSESAY
Bring Me 3 Bene Oils Meight
<Got Them/@got>
<Ok/@exit>
[@got]
#IF
checkitem beneoil 3
#ACT
take beneoil 3
set [389] 1 <~~~ See i have set 389 to 1 now at the top instead of saying Bring me 3 bene oils it will now say you have done the quest
A Bigger Guide if you have got the hang of it:
[@MAIN]
#if
check [392] 1
#say
Ah yes <$USERNAME>... HolyDeva Is Here Waiting For You\
As You Bought Me The Back I Will Let You Summon Him Any Time\
Please Make Sure You Have No Other Pets HolyDeva Gets Jealous\
And Will Refuse To Summon If You Do\
<Summon HolyDeva/@summon>\
<Exit/@exit>\
#elsesay
Hello My Friend I Am The Great Summoner Of SoLiD\
I Possess Many Magical Powers I Can Make Any Spell\
If You Bring Me The Right Book I Will Allow It So\
Everytime I See You. You May Summon A Great Monster\
do you have the book i am looking for???\
<I Have SummonDeva Book.../@yes1> [<?/@infodeva>]\
<I Have Mirroring Book.../@underc>\
<I Have TBD Book.../@underc>\
<No/@exit>\
[@infodeva]
Info sda osda\
[@underc]
UnderConstruction
[@yes1]
#if
checklevel 38
#say
You Meet The Requirements To Summon Holy Deva!\
But Do You Have The Book!?\
<Yes, here it is/@yes2>\
<No/@exit>\
#elsesay
Im Sorry But You Do Not Qualify For The Skill You Must Be Level 38\
And A Taoist
[@yes2]
#if
checkitem SummonDeva 1
#act
take SummonDeva
goto @pwned
#ELSESAY
Dont Lie Where The Hell Is IT!?
[@pwned]
#if
checklevel 38
#act
set [392] 1
#say
WOW You Have It Ok Come Back To Me In A Couple Of Mins\
And Ill Learn The Spell To Summon The Pet\
#elsesay
im sorry you do not have what i am looking for, or you\
do not qualify for the skill that i require. Please come\
back when you have what i am after..\
[@summon]
#act
marry mob HolyDeva
close
Need better help? pm me.
/Shadow
How To Set:
Set [???] 1
???= A Random Flags Number
1 = Its been set
Fill in the question mark with your required number make sure the number you choose is not in use by another quest or you will get confused. Once you set a flag on someone it will permantly set that flag on the character unless you choose differntly
If you wanted to check a flag it would be
Check [???] 1
Its quite hard to explain so heres a few exsamples
#IF
check [389] 1
#SAY
You Have Done The Quest
#ELSESAY
Bring Me 3 Bene Oils Meight
<Got Them/@got>
<Ok/@exit>
[@got]
#IF
checkitem beneoil 3
#ACT
take beneoil 3
set [389] 1 <~~~ See i have set 389 to 1 now at the top instead of saying Bring me 3 bene oils it will now say you have done the quest
A Bigger Guide if you have got the hang of it:
[@MAIN]
#if
check [392] 1
#say
Ah yes <$USERNAME>... HolyDeva Is Here Waiting For You\
As You Bought Me The Back I Will Let You Summon Him Any Time\
Please Make Sure You Have No Other Pets HolyDeva Gets Jealous\
And Will Refuse To Summon If You Do\
<Summon HolyDeva/@summon>\
<Exit/@exit>\
#elsesay
Hello My Friend I Am The Great Summoner Of SoLiD\
I Possess Many Magical Powers I Can Make Any Spell\
If You Bring Me The Right Book I Will Allow It So\
Everytime I See You. You May Summon A Great Monster\
do you have the book i am looking for???\
<I Have SummonDeva Book.../@yes1> [<?/@infodeva>]\
<I Have Mirroring Book.../@underc>\
<I Have TBD Book.../@underc>\
<No/@exit>\
[@infodeva]
Info sda osda\
[@underc]
UnderConstruction
[@yes1]
#if
checklevel 38
#say
You Meet The Requirements To Summon Holy Deva!\
But Do You Have The Book!?\
<Yes, here it is/@yes2>\
<No/@exit>\
#elsesay
Im Sorry But You Do Not Qualify For The Skill You Must Be Level 38\
And A Taoist
[@yes2]
#if
checkitem SummonDeva 1
#act
take SummonDeva
goto @pwned
#ELSESAY
Dont Lie Where The Hell Is IT!?
[@pwned]
#if
checklevel 38
#act
set [392] 1
#say
WOW You Have It Ok Come Back To Me In A Couple Of Mins\
And Ill Learn The Spell To Summon The Pet\
#elsesay
im sorry you do not have what i am looking for, or you\
do not qualify for the skill that i require. Please come\
back when you have what i am after..\
[@summon]
#act
marry mob HolyDeva
close
Need better help? pm me.
/Shadow