How To Set Flags (Via NPC)

[Shadow]

Golden Oldie
Golden Oldie
Loyal Member
Oct 1, 2004
851
0
123
Counter Strike
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
 

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,354
52
305
England
Liandrin2 said:
Amatuers they are then. :mooned:
so? maybe theyre bigginners and if they read this properly and understand it, then they know it, and so what if thayre amatuers, you were an "Amatuer" at one time mate :P
 
Upvote 0

Liandrin2

Golden Oldie
Golden Oldie
Loyal Member
Jan 14, 2004
890
6
125
It's something i would expect people to figure out quite easily on their own tbh.

However seeing as some people can't I suppose it could be a handy post.
 
Upvote 0

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
233
Well i suppose that alot of people know about flags, but hardly anyone uses Name Lists which are so much more usefull than flags tbh. If someone make a Name List guide then i'm sure alot of people would learn something new lol.

/Miles
 
Upvote 0

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,354
52
305
England
Miles said:
Well i suppose that alot of people know about flags, but hardly anyone uses Name Lists which are so much more usefull than flags tbh. If someone make a Name List guide then i'm sure alot of people would learn something new lol.

/Miles

agreed ^__^
 
Upvote 0

DayWalker™

Golden Oldie
Golden Oldie
Dec 11, 2004
761
1
123
Middlesbrough ! Smoggy!
[@main]
#IF
check [001] 1
#ACT
goto @quest1
#ELSEACT
goto @quest0

[@quest1]
Youve done my quest go away.\

[@quest0]
Wanna do my quest bring me this that and another...\ \

<Ive got them/@items>\ \
<Ill go get um/@exit>\ \

[@items]
#IF
checkitem "itemname" 1
set [001] 1
#SAY
Thanks :)\ \

<No problemo d00d/@exit>\
#ELSESAY
you dont have my items f00l\
 
Upvote 0