quest npc

smoochy boys on tour

LegendsReturn

Dedicated Member
Dedicated Member
Jan 2, 2006
138
0
63
[@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>

[@MOVEN]
#IF
check [306] 1
checkitem RedOrchid 1
#ACT
take RedOrchid 1
set [306] 1
#ELSEACT
DONT TRY TO CHEAT ME!!.\ \
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\
\
<Pets/@PET>\
<Quests/@QUEST>\
<GamePoints/@GAME>\
<Not today thank you/@Exit>\

but it dont work i have the RedOrchid in bag but when i click
<Rite i have the Orchid/@MOVEN>\

it wont move me to where i am ment to go. can some one help me with my mistakes please.
 

acole83

Dedicated Member
Dedicated Member
Oct 9, 2004
209
2
65
what do you mean it wount move you? to a map/position?
if so its cos you need

mapmove (mapname) (x) (y)

in the #act part of the script

if ya mean move ya to one on the options you have set
<Pets/@PET>\
<Quests/@QUEST>\
<GamePoints/@GAME>\
<Not today thank you/@Exit>\

u need to make

[@PET]
[@QUEST]
[@GamePoints]

scripts added to EG

[@pet]
what pet do you want?\\

<Oma/@oma>\
<Skelly/@skelly\

[@oma]
mongen oma 1

[@skelly]
mongen skelly 1

soz dunno the command to make it spwan as your pet
i forgot it :P but some one will know
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
hazuki is awake and is correct, also you wont be being moved because you havent asked to be moved anywhere.... all that is being done is that you are completing a quest...
 
Upvote 0

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
123
here i edited the script for you :D :D :D

LegendsReturn said:
[@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>

[@MOVEN]
#IF
check [306] 1
checkitem RedOrchid 1
#ACT
take RedOrchid 1
set [306] 1
goto @part2

#ELSESAY
DONT TRY TO CHEAT ME!!.\ \

[@part2]
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\\

<Pets/@PET>\
<Quests/@QUEST>\
<GamePoints/@GAME>\
<Not today thank you/@Exit>\
 
Upvote 0

Babyhack

Devilsoul Owner
VIP
Feb 4, 2004
5,343
28
305
Dublin, Ireland
Both Hazuki and Fire are wrong (yes I know it was early)

What that flag is doing is checking to see if he has done the quest
Check [306] 1
as this has not been set (he has not done the quest the script goes on)
after that check he has given the item therefore he has done the quest
set [306] 1

so next time he clicks the NPC it will see that [306] 1 is set and stop the script

BH
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
Babyhack said:
Both Hazuki and Fire are wrong (yes I know it was early)

What that flag is doing is checking to see if he has done the quest
Check [306] 1
as this has not been set (he has not done the quest the script goes on)
after that check he has given the item therefore he has done the quest
set [306] 1

so next time he clicks the NPC it will see that [306] 1 is set and stop the script

BH
good point, ive just looked and seen that now, it was toooo early lol
 
Upvote 0

LegendsReturn

Dedicated Member
Dedicated Member
Jan 2, 2006
138
0
63
what i mean buy it dont move is.

[@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>

[@MOVEN]
#IF
check [306] 1
checkitem RedOrchid 1
#ACT
take RedOrchid 1
set [306] 1
#ELSEACT
DONT TRY TO CHEAT ME!!.\ \
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\
\
<Pets/@PET>\
<Quests/@QUEST>\
<GamePoints/@GAME>\
<Not today thank you/@Exit>\

When i click <Rite i have the Orchid/@MOVEN> it will not take the item from me and will not set the flag or anything :S.

just wont go to next part of npc :S
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
erm could it be that you are actually dont have a RedOrchid, or simply that you have the flag 306 already set, it wont display anything at the moment because you have your failure command in an #ELSEACT not an #ELSESAY
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
dont use the code posted above that definitely wont work, you are on the right track one of your #IF's is coming back with the wrong value
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
175
Netherlands
Code:
 [@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>
 
[@MOVEN]
#IF
check [306] 1
checkitem RedOrchid 1
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\
<Pets/@PET>\
<Quests/@QUEST>\
<GamePoints/@GAME>\
<Not today thank you/@Exit>\
#ELSEACT
here comes ppl that not done the quest.
direct them to start of quest to let them do quest.
goto @Q1start
#ELSESAY 
DONT TRY TO CHEAT ME!! you not done the quest yet.\ \
 
[@pet]
gimme pet\
<slave/@sl> <no thx/@exit>
 
[@quest]
do a quest\
<start/@Q1> <no thx/@exit>
 
 
[@game]
get gamepoints\
<gimme/@GP1> <no thx/@exit>

as i understand this is what you want your script to do hope it helps
 
Last edited:
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
stephenking said:
Code:
 [@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>
 
[@MOVEN]
#IF
check [306] 1
checkitem RedOrchid 1
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\
<Pets/@PET>\
<Quests/@QUEST>\
<GamePoints/@GAME>\
<Not today thank you/@Exit>\
#ELSEACT
here comes ppl that not done the quest.
direct them to start of quest to let them do quest.
goto @Q1start
#ELSESAY 
DONT TRY TO CHEAT ME!! you not done the quest yet.\ \
 
[@pet]
gimme pet\
<slave/@sl> <no thx/@exit>
 
[@quest]
do a quest\
<start/@Q1> <no thx/@exit>
 
 
[@game]
get gamepoints\
<gimme/@GP1> <no thx/@exit>

as i understand this is what you want your script to do hope it helps
you missed out the #ACT which takes and sets the flag.

i have noticed though that perhaps unless you want them to have a redrose each time they activate the npc you may be better off splitting the #IF commands. since they both need to be filled to go to the #act statement
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
175
Netherlands
Fire said:
you missed out the #ACT which takes and sets the flag.

i have noticed though that perhaps unless you want them to have a redrose each time they activate the npc you may be better off splitting the #IF commands. since they both need to be filled to go to the #act statement

your right i forgot #ACT tho setting the flag is not needed since he just completed a quest to get here so when he gets passed #IF meaning he got [306] 1 so why would you set [306] 1 again

[@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>

[@MOVEN]
#IF
check [306] 1
checkitem RedOrchid 1
#ACT
take RedOrchid 1
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\
<Pets/@PET>\
<Quests/@QUEST>\
<GamePoints/@GAME>\
<Not today thank you/@Exit>\
#ELSEACT
here comes ppl that not done the quest.
direct them to start of quest to let them do quest.
goto @Q1start
#ELSESAY
DONT TRY TO CHEAT ME!! you not done the quest yet.\ \

[@pet]
gimme pet\
<slave/@sl> <no thx/@exit>

[@quest]
do a quest\
<start/@Q1> <no thx/@exit>


[@game]
get gamepoints\
<gimme/@GP1> <no thx/@exit>​
 
Last edited:
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
Code:
#IF
check [306] 1
checkitem RedOrchid 1
#ACT
take RedOrchid 1
as i say it would be safer if it was done like this:
Code:
[@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>

[@MOVEN]
#IF
check [306] 1
#ACT
goto @speech
#ELSEACT
goto @orchidcheck

[@orchidcheck]
#IF
checkitem RedOrchid 1
#ACT
take RedOrchid 1
SET [306] 1
goto @speech
#ELSESAY
You dont have the Orchid yet.

[@speech]
#IF
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\
<Pets/@pet>\
<Quests/@quest>\
<GamePoints/@game>\
<Not today thank you/@Exit>\
#ELSEACT
goto @Q1start
#ELSESAY 
DONT TRY TO CHEAT ME!! you not done the quest yet.\ \

[@pet]
#IF
#SAY
gimme pet\
<slave/@sl> <no thx/@exit>

[@quest]
#IF
#SAY

[@Q1start]
#IF
#SAY
Put in the first quest details

[@game]
#IF
#SAY
get gamepoints\
<gimme/@GP1> <no thx/@exit>
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
175
Netherlands
Fire said:
Code:
#IF
check [306] 1
checkitem RedOrchid 1
#ACT
take RedOrchid 1
as i say it would be safer if it was done like this:
Code:
[@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>
 
[@MOVEN]
#IF
check [306] 1
#ACT
goto @speech
#ELSEACT
goto @orchidcheck
 
[@orchidcheck]
#IF
checkitem RedOrchid 1
#ACT
take RedOrchid 1
SET [306] 1
goto @speech
#ELSESAY
You dont have the Orchid yet.
 
[@speech]
#IF
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\
<Pets/@pet>\
<Quests/@quest>\
<GamePoints/@game>\
<Not today thank you/@Exit>\
#ELSEACT
goto @Q1start
#ELSESAY 
DONT TRY TO CHEAT ME!! you not done the quest yet.\ \
 
[@pet]
#IF
#SAY
gimme pet\
<slave/@sl> <no thx/@exit>
 
[@quest]
#IF
#SAY
 
[@Q1start]
#IF
#SAY
Put in the first quest details
 
[@game]
#IF
#SAY
get gamepoints\
<gimme/@GP1> <no [EMAIL="thx/@exit>"]thx/@exit>[/EMAIL]


sorry to say this but the more goto you use the more cheatable it will be get some info on chinese forums

also all you do is say whats wrong or right if you know all why didnt you fixed the script right away so he gets answer the first post mmm
 
Last edited:
Upvote 0

DayWalker™

Golden Oldie
Golden Oldie
Dec 11, 2004
761
1
123
Middlesbrough ! Smoggy!
Fire's last script there should work.

If not try

[@Main]
Hello <$USERNAME> im Charlie i can do alot of things\
such as , Quests , GamePoints , Special Pets all for a small\
fee.\
I need a RedOrchid , This Flower drops of the Lord of Omas and\
is not easy to get\
<Rite i have the Orchid/@MOVEN>\
<Sorry but i carnt/@Exit>

[@MOVEN]
#IF
check [306] 1
#ACT
goto @menuselect
#ELSEACT
goto @noflag

[@itemcheck]
#IF
checkitem RedOrchid 1
#ACT
take RedOrchid 1
set [306] 1
goto @menuselect
#ELSEACT
goto @noorchid

[@noflag]
#IF
checkitem redorchid 1
#ACT
take redorchid 1
set [306] 1
goto @menuselect
#ELSEACT
GOTO @noorchid

[@noorchid]
#IF
#SAY
Bring me a red orchid and i can let you use my special service's.\ \
<Great/@exit>\


[@menuselect]
#IF
#SAY
Well nice job i see you have done the Quest well lets see \
what i can offer you now.\
\
<Pets/@PET>\
<Quests/@QUEST>\
<GamePoints/@GAME>\
<Not today thank you/@Exit>\

/Stan
 
Upvote 0

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
123
god lol i answered this like 5 hours ago for him just look at mine

and change the

IF
SET [???] 1 to SET [???] 0
 
Upvote 0

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
123
you knew what i meant the check thew 1st 1

edit - isnt pokemon on? run along little boy
 
Upvote 0