script error

Lucafer

LOMCN Veteran
Veteran
May 15, 2008
419
1
45
Newbury,Berks
ok this script is starting to do me head lol for sum reason i cnt get it to take or give the items. cud sum1 have a look plz and lemme now wuts up with it.

[@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.> \<--does this
<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 <---skips straight 2 here
Sendmsg 6 "You don`t have the required chestnuts <$USERNAME>."
Close


transporter has tried to hlp me aswell but the script he done did not work either.
 

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
in

[@q1]
#IF
CHECK [900] 0
CHECKITEM GoldChestnut 10
CHECKITEM SilverChestnut 10
CHECKITEM 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
 
Upvote 0