[help]quest script

Play Now

Lucafer

LOMCN Veteran
Veteran
May 15, 2008
419
1
45
Newbury,Berks
ive wrote a script for a quest for noobs wen they join server but for sum reason it doesnt take or give items cud sum have a look and tell me where ive went wrong thanx


[@main]
#say
so u want a clearring to help you \
on ur way through vengence. \\
<please/@pl> <nah ur ok/@exit>
#ELSESAY
you have had your ing already.\\

[@pl]
#say
i need a few things for you b4 i give \
you a clearring. i will need 3 diff types \
of chestnuts 10x gold 10x silver 10x brown. \
<ill go get you them/@exit>
<i have what u want/@q1> <-gets to here and thats it.

[@q1]
#IF
check clear.txt
check goldchestnut 10
check silverchestnut 10
check brownchestnut 10
#ACT
take goldchestnut 10
take silverchestnut 10
take brownchestnut 10
give clearring
ADDNAMELIST clear.txt
break
 

azzi

Golden Oldie
Golden Oldie
Aug 16, 2005
1,662
19
175
[@main]
#IF
checknamelist clear.txt
#say
you have had your ring already.\\
#ELSESAY
so u want a clearring to help you \
on ur way through vengence. \\
<please/@pl> <nah ur ok/@exit>

[@pl]
#say
i need a few things for you b4 i give\
you a clearring. i will need 3 diff types\
of chestnuts 10x gold 10x silver 10x brown.\
<ill go get you them/@exit>\
<i have what u want/@q1>\

[@q1]
#IF
checknamelist clear.txt
check goldchestnut 10
check silverchestnut 10
check brownchestnut 10
#ACT
take goldchestnut 10
take silverchestnut 10
take brownchestnut 10
give clearring
ADDNAMELIST clear.txt
break

This should work.
 
Upvote 0

transporter

LOMCN Veteran
Veteran
Jul 12, 2008
608
8
105
Darlington
[@main]
#IF
CHECK [900] 1
#ACT
Sendmsg 6 "You Have had your ClearRing <$USERNAME>."
BREAK
#ELSESAY
So you want a ClearRing to help you \
On your way through vengence? \\
<Please/@pl> <No Thanks/@exit>


[@pl]
#say
I need a few things for you before i give \
you a ClearRing, I will need 3 different types \
of Chestnuts <10x Gold, 10x Silver and 10x Brown.> \
<I`ll go get you them/@exit>
<I have what u want/@q1>

[@q1]
#IF
CHECK [900] 0
CHECK GoldChestnut 10
CHECK SilverChestnut 10
CHECK BrownChestnut 10
#ACT
TAKE GoldChestnut 10
TAKE SilverChestnut 10
TAKE BrownChestnut 10
GIVE ClearRing 1
SET [900] 1
Sendmsg 6 "Enjoy your new ClearRing <$USERNAME>."
Close
#ELSEACT
Sendmsg 6 "You don`t have the required chestnuts <$USERNAME>."
Close
__________________
 
Last edited:
Upvote 0