Scroll exchange NPC Script! help plz.

Play Now

myname

Dedicated Member
Dedicated Member
Aug 11, 2003
157
0
92
below is wat my npc scroll and make scroll guy is. my problem is tht wen i exchange a 60mill or 100mill scroll and i dont have a scroll in my bag. i click on exchange and it gives me the chests ne way. which is pointless lol. but wen i do have a scroll in my bag it takes the scroll and gives me the money. wen i make a scroll it works perfectly. its just the exchanging tht dont. can ne1 see a problem in my script tht could cause this problem to occur plz.

[@main]
#SAY
Hi. If you have too many GoldChests or GoldBarBundles\
I can exchange them for either a scroll worth 60 Million,\
or a scroll worth 100 Million.\\

Would you like to make or exchange a scroll?\\

<Make a scroll./@makescroll>\
<Exchange Scroll./@exchangescroll>\
<Exit./@exit>

[@makescroll]
#SAY
Would you like a 60 Million Scroll or a 100 Million Scroll?\\

<60 Million./@60scroll>\
<100 Million./@100scroll>\
<Back./@main>\
<Exit./@exit>

[@60scroll]
#SAY
Will you be giving me 6 GoldChests or 12 GoldBarBundles?\\

<GoldChests./@60scrollchest>\
<Bundles./@60scrollbundle>\
<Exit./@exit>

[@60scrollchest]
#IF
checkitem GoldChest 6
#ACT
take GoldChest 6
give 60MillScroll
#SAY
Thank you!\\

<Exit./@exit>
#ELSESAY
You don't have 6 GoldChests for me!\\

<Exit./@exit>

[@60scrollbundle]
#IF
checkitem GoldBarBundle 12
#ACT
take GoldBarBundle 12
give 60MillScroll
#SAY
Thank you!\\

<Exit./@exit>
#ELSESAY
You don't have 12 GoldBarBundles for me!\\

<Exit./@exit>

[@100scroll]
#SAY
To make this I will need 10 GoldChests!\\

<Make a 100MillScroll./@make100>\
<Exit./@exit>

[@make100]
#IF
checkitem GoldChest 10
#ACT
take GoldChest 10
give 100MillScroll
#SAY
Thank you!\\

<Exit./@exit>
#ELSESAY
You don't have 10 GoldChests for me!\\

<Exit./@exit>



[@exchangescroll]
#SAY
Will you be exchanging a 60MillScroll or a 100MillScroll?\\

<60 Mill./@60exchange>\
<100 Mill./@100exchange>\
<Back./@main>\
<Exit./@exit>

[@60exchange]
#SAY
Do you want 6 GoldChests or 12 GoldBarBundles?\\

<6 GoldChests./@60exchangechest>\
<12 GoldBarBundles./@60exchangebundle>\
<Exit./@exit>

[@60exchangechest]
#IF
checkitem 60MillScroll
#ACT
take 60MillScroll
give GoldChest 6
#SAY
Thank you!\\

<Exit./@exit>
#ELSESAY
You don't have the 60millScroll to turn in for 6gold chest shoo!

[@60exchangebundle]
#IF
checkitem 60MillScroll
#ACT
take 60MillScroll
give GoldBarBundle 12
#SAY
Thank you!\\

<Exit./@exit>
#ELSESAY
You don't have the 60millScroll to turn in for 12gold chest shoo!

[@100exchange]
#SAY
I can only exchange it for 10 GoldChests!\\

<Exchange./@100goldchest>\
<Exit./@exit>

[@100goldchest]
#IF
checkitem 100MillScroll
#ACT
take 100MillScroll
give GoldChest 10
#SAY
Thank you!\\

<Exit./@exit>
#ELSESAY
You don't have the 100millScroll to turn in for 10gold chest shoo!\ \
<Exit/@exit>
 

Gamedude

LOMCN Veteran
Veteran
Sep 23, 2003
257
0
42
myname said:
[@main]
#SAY
Hi. If you have too many GoldChests or GoldBarBundles\
I can exchange them for either a scroll worth 60 Million,\
or a scroll worth 100 Million. \ \
Would you like to make or exchange a scroll? \ \
<Make a scroll./@makescroll>\
<Exchange Scroll./@exchangescroll>\
<Exit/@exit>

[@makescroll]
#SAY
Would you like a 60 Million Scroll or a 100 Million Scroll? \ \
<60 Million./@60scroll>\
<100 Million./@100scroll>\
<Back/@main>\
<Exit/@exit>

[@60scroll]
#SAY
Will you be giving me 6 GoldChests or 12 GoldBarBundles? \ \
<GoldChests./@60scrollchest>\
<Bundles./@60scrollbundle>\
<Exit/@exit>

[@60scrollchest]
#IF
checkitem GoldChest 6
#ACT
take GoldChest 6
give 60MillScroll
#ELSESAY
You don't have 6 GoldChests for me! \
#SAY
Thank you! \ \
<Exit/@exit>


[@60scrollbundle]
#IF
checkitem GoldBarBundle 12
#ACT
take GoldBarBundle 12
give 60MillScroll
#ELSESAY
You don't have 12 GoldBarBundles for me!\\
#SAY
Thank you! \ \
<Exit/@exit>

[@100scroll]
#SAY
To make this I will need 10 GoldChests! \ \

<Make a 100MillScroll/@make100>\
<Exit/@exit>

[@make100]
#IF
checkitem GoldChest 10
#ACT
take GoldChest 10
give 100MillScroll
#ELSESAY
You don't have 10 GoldChests for me! \ \
#SAY
Thank you! \ \
<Exit/@exit>


[@exchangescroll]
#SAY
Will you be exchanging a 60MillScroll or a 100MillScroll? \ \

<60 Mill./@60exchange>\
<100 Mill/@100exchange>\
<Back/@main>\
<Exit/@exit>

[@60exchange]
#SAY
Do you want 6 GoldChests or 12 GoldBarBundles? \ \

<6 GoldChests./@60exchangechest>\
<12 GoldBarBundles./@60exchangebundle>\
<Exit/@exit>

[@60exchangechest]
#IF
checkitem 60MillScroll
#ACT
take 60MillScroll
give GoldChest 6
#ELSESAY
You don't have the 60millScroll to turn in for 6gold chest shoo! \ \
#SAY
Thank you! \ \
<Exit/@exit>

[@60exchangebundle]
#IF
checkitem 60MillScroll
#ACT
take 60MillScroll
give GoldBarBundle 12
#ELSESAY
You don't have the 60millScroll to turn in for 12gold chest shoo! \ \
#SAY
Thank you! \ \
<Exit/@exit>

[@100exchange]
#SAY
I can only exchange it for 10 GoldChests! \ \

<Exchange./@100goldchest>\
<Exit./@exit>

[@100goldchest]
#IF
checkitem 100MillScroll
#ACT
take 100MillScroll
give GoldChest 10
#ELSESAY
You don't have the 100millScroll to turn in for 10gold chest shoo! \ \
#SAY
Thank you! \ \

<Exit/@exit>

Try that m8 :)
 

myname

Dedicated Member
Dedicated Member
Aug 11, 2003
157
0
92
wont work m8. still gives me chests when i press exchange and i dont even have a scroll in my bag.
 

UltimateWar

Dedicated Member
Dedicated Member
May 6, 2003
114
0
93
uk
Which bit is wrong? Are all the names right? Tell me whats wrong and I can fix.
 

YoYoYo

Milo's Sex Slave
Golden Oldie
May 11, 2003
1,090
1
174
My house
UltiWar, he just said whats wrong. Its giving him chests when he doesnt even have a scroll in his bag.

Try on all the checkitem's:

--------------------------------------------------------

[@60exchangechest]
#IF
checkitem 60MillScroll 1
#ACT
take 60MillScroll 1
give GoldChest 6
#SAY
Thank you!\\

<Exit./@exit>
#ELSESAY
You don't have the 60millScroll to turn in for 6gold chest shoo!

-------------------------------------------------

Bits which have been changed are in bold.