;Info [ Npc Name{Nicole} X=24 Y=64 MapName={UndergroundTown} ]
[@main]
#SAY
Welcome to Torozor bank and services.\
You can take out a loan with me but you will\
Forfeit my services until you pay back your\
Loan.\ \
<Loans/@loans>\
<Millionaire - Billionaire banking/@MBB>\
<Services/@Services>\ 
<exit/@exit>\


[@loans]
#SAY
you can only take out each loan type once,untill you \
pay it back.You will also need a <residence license/@license> \ \
<100,000 Gold/@Loan1>\
<1 GoldBarBundle/@Loan2>\
<1 GoldChest/@Loan3>\ \
<exit/@exit>\
;-------------loan 1------------------------------------------
[@Loan1]
#IF
check [156] 1
#SAY
I will need to check to see if you have taken out a loan ready\ \
<Okay/@LoanCheck1>, <exit/@exit>\
#ELSESAY
you do not have a <residence license/@license>\
\ \
\ \
<exit/@exit>\
;-----------------check loan 1--------------------------------
[@LoanCheck1]
#IF
check [157] 1
#SAY
You already have a loan with us. Do you\
Wish to pay it back now?\ \
<yes/@Loanpay1>, <no/@exit>\
#ELSESAY
You currently do not have that type of\
Loan with us. Do you wish to take out\
A loan?\ \
<yes/@Loangive1>, <no/@exit>\
;--------------Give loan 1-------------------------------------
[@Loangive1]
#ACT
give gold 100000
Set [157] 1
#SAY
There you go!\ \
\ \
\ \
<exit/@exit>\
;------------Pay back loan 1-------------------------------------
[@Loanpay1]
#IF
Checkgold 100000
#SAY
Thank you.\ \
\ \
\ \
<exit/@exit>\
#Act
Set [157] 0
Take gold 100000
#ElseSAY
you do not have 100000 to give me\
\ \
\ \
<exit/@exit>\

;-------------loan 2------------------------------------------
[@Loan2]
#IF
check [156] 1
#SAY
I will need to check to see if you have taken out a loan ready\ \
<Okay/@LoanCheck2>, <exit/@exit>\
#ELSESAY
you do not have a <residence license/@license>\
\ \
\ \
<exit/@exit>\
;-----------------check loan 2--------------------------------
[@LoanCheck2]
#IF
check [158] 1
#SAY
You already have a loan with us. Do you\
Wish to pay it back now?\ \
<yes/@Loanpay2>, <no/@exit>\
#ELSESAY
You currently do not have that type of\
Loan with us. Do you wish to take out\
A loan?\ \
<yes/@Loangive2>, <no/@exit>\
;--------------Give loan 2-------------------------------------
[@Loangive2]
#ACT
give goldbarbundle 1
Set [158] 1
#SAY
There you go!\ \
\ \
\ \
<exit/@exit>\
;------------Pay back loan 2-------------------------------------
[@Loanpay2]
#IF
Checkitem goldbarbundle 1
#SAY
Thank you.\ \
\ \
\ \
<exit/@exit>\
#Act
Set [158] 0
Take goldbarbundle 1
#ElseSAY
you do not have 1 goldbarbundle to give me\
\ \
\ \
<exit/@exit>\

;-------------loan 3------------------------------------------
[@Loan3]
#IF
check [156] 1
#SAY
I will need to check to see if you have taken out a loan ready\ \
<Okay/@LoanCheck3>, <exit/@exit>\
#ELSESAY
you do not have a <residence license/@license>\
\ \
\ \
<exit/@exit>\
;-----------------check loan 3--------------------------------
[@LoanCheck3]
#IF
check [159] 1
#SAY
You already have a loan with us. Do you\
Wish to pay it back now?\ \
<yes/@Loanpay3>, <no/@exit>\
#ELSESAY
You currently do not have that type of\
Loan with us. Do you wish to take out\
A loan?\ \
<yes/@Loangive3>, <no/@exit>\
;--------------Give loan 3-------------------------------------
[@Loangive3]
#ACT
give goldchest 1
Set [159] 1
#SAY
There you go!\ \
\ \
\ \
<exit/@exit>\
;------------Pay back loan 3-------------------------------------
[@Loanpay3]
#IF
Checkitem goldchest 1
#SAY
Thank you.\ \
\ \
\ \
<exit/@exit>\
#Act
Set [159] 0
Take goldchest 1
#ElseSAY
you do not have 1 goldbarbundle to give me\
\ \
\ \
<exit/@exit>\

[@license]
#SAY
you cannot clam a residence license until\
you have passed all the quest in proving\
grounds academy. If you wish to clam one\
Look at my services\ \
<exit/@exit>\


[@Services]
#SAY
Welcome to my services\
<Residence License/@serv1>\
<Teleport/@serv2> to a location in Sabuk wall (Good for wars)\
<Teleport/@serv3> to ST 5th\
<Teleport/@serv4> to Secret temple  (you must fined your own way in)\
<Teleport/@serv6> to zuma temple 7th lobby \

<exit/@exit>\

[@serv1]
#SAY
You must complete all quest in the proving grounds\
Academy before you clam a license. It will also\
Cost 1 gold bar. \ \
<Get license/@Servuse1>\
<exit/@exit>\

[@Servuse1]
#IF
check [013] 1
checkitem goldbar 1
Check [156] 0
#ACT
take goldbar 1
set [156] 1
#SAY
you now have a license..\
(this is not an item so dont it
wont be in your bag)
\ \
\ \
<exit/@exit>\
#ELSESAY
I can not give you a license. This may be Because \
you already have one, haven’t Completed  the \
proving grounds academy and – or You don’t have \
a gold bar. You cant get a GM To check to see if \
you already have a license (Flag [156])\ \
<exit/@exit>\


[@serv2]
#SAY
Requirement for service use :-\
residence license\
50,000 gold\
1 GoldBar Bundle loan not taken out\
1 GoldChest loan not taken out\ \
<Next/@Next2>\
<exit/@exit>\


[@serv3]
#SAY
Requirement for service use :-\
residence license\
100,000 gold\
1 GoldBar Bundle loan not taken out\
1 GoldChest loan not taken out\ \
<Next/@Next3>\
<exit/@exit>\


[@serv4]
#SAY
Requirement for service use :-\
residence license\
25,000 gold\
No loans taken out\ \
<Next/@Next4>\
<exit/@exit>\

[@serv5]
#SAY
Requirement for service use :-\
residence license\
10,000 gold\
No loans taken out\ \
<Next/@Next5>\
<exit/@exit>\


[@serv6]
#SAY
Requirement for service use :-\
residence license\
75,000 gold\
No loans taken out\ \
<Next/@Next6>\
<exit/@exit>\

[@Next2]
#if
checkgold 50000
check [156] 1
check [158] 0
check [159] 0
#SAY
<Teleport/@sertele1> on wall near main door\
<Teleport/@sertele2> behind potion shop\
<Teleport/@sertele3> behind cloths shop \
/ /
/ /
<exit/@exit>\
#ElseSAy
You do not meet the requirements\ \
\ \
\ \
<exit/@exit>\

[@Next3]
#if
checkgold 100000
check [156] 1
check [158] 0
check [159] 0
#ACT
take gold 100000
mapmove d715 33 342
give townteleport
#ElseSAy
You do not meet the requirements\ \
\ \
\ \
<exit/@exit>\

[@Next4]
#if
checkgold 25000
check [156] 1
check [157] 0
check [158] 0
check [159] 0
#ACT
take gold 25000
mapmove Nt04 152 90
give townteleport
#ElseSAy
You do not meet the requirements\ \
\ \
\ \
<exit/@exit>\

[@Next5]
#SAY
Not available until alpha 1.0\
\ \
\ \
<exit/@exit>\

[@Next6]
#if
checkgold 75000
check [156] 1
check [157] 0
check [158] 0
check [159] 0
#ACT
take gold 75000
map D5071
give townteleport
#ElseSAy
You do not meet the requirements\ \
\ \
\ \
<exit/@exit>\


[@MBB]
#say
 <Cash to Chest/@C2Ch>                <Chest to Cash/@Ch2C>\
 <Cash to 100mill note/@C2100m>       <100mill note to Cash/@100m2C>\
 <Cash to 500mill note/@C2500m>       <500mill note to Cash/@500m2C> \

 <Chest to 100mill note/@Ch2100m>           <100mill note to Chests/@100m2Ch>\
 <100mill note to 500mill note/@100m2500m>  <500mill note to 100mill notes/@500m2100m> \
 <500mill note to 1billion note/@500m21bill>  <1billion note to 500mill notes/@1bill2500mill>\

[@C2Ch]
#IF
checkgold 10000000
#ACT
take gold 10000000
give goldchest 1
#SAY
 <Again/@C2Ch>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough gold.\
 <Back/@main>\
 <Exit/@exit>\
 
[@C2100m]
#IF
checkgold 100000000
#ACT
take gold 100000000
give 100mill 1
#SAY
 <Again/@C2100m>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough gold.\
 <Back/@main>\
 <Exit/@exit>
 
[@C2500m]
#IF
checkgold 500000000
#ACT
take gold 500000000
give 500mill 1
#SAY
 <Again/@C2500m>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough gold.\
 <Back/@main>\
 <Exit/@exit>
 
[@Ch2C]
#IF
checkitem goldchest 1
#ACT
take goldchest 1
give gold 10000000
#SAY
 <Again/@Ch2C>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have a Gold Chest or space for the gold\
(remember your bag can only hold 1 Billion)\
 <Back/@main>\
 <Exit/@exit>\

[@100m2C]
#IF
Checkgold 900000001
#ACT
Goto @NoExchange
#ELSEACT
Goto @100m2cgo

[@100m2cgo]
#IF
checkitem 100mill 1
#ACT
take 100mill 1
give gold 100000000
#SAY
 <Again/@100m2C>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have a 100mill note or space for the gold\
(remember your bag can only hold 1 Billion)\
 <Back/@main>\
 <Exit/@exit>\
 
[@500m2C]
#IF
Checkgold 500000001
#ACT
Goto @NoExchange
#ELSEACT
Goto @500m2cgo

[@NoExchange]
#SAY
You Cannot Exchange, You Will Exceed Your\
Bags Gold Limit Of 1 Billion Gold.\ \
<Exit/Exit>

[@500m2cgo]
#IF
checkitem 500mill 1
#ACT
take 500mill 1
give gold 500000000
#SAY
 <Again/@500m2C>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have a 500mill note or space for the gold\
(remember your bag can only hold 1 Billion)\
 <Back/@main>\
 <Exit/@exit>\

[@Ch2100m]
#IF
checkitem goldchest 10
#ACT
take goldchest 10
give 100mill 1
#SAY
 <Again/@Ch2100m>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough gold chests.\
 <Back/@main>\
 <Exit/@exit>

[@100m2500m]
#IF
checkitem 100mill 5
#ACT
take 100mill 5
give 500mill 1
#SAY
 <Again/@100m2500m>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough 100mill notes..\
 <Back/@main>\
 <Exit/@exit>\

[@500m21bill]
#IF
checkitem 500mill 2
#ACT
take 500mill 2
give 1billion 1
#SAY
 <Again/@500m21bill>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough 500mill notes..\
 <Back/@main>\
 <Exit/@exit>\

[@100m2ch]
#IF
checkitem 100mill 1
#ACT
take 100mill 1
give goldchest 10
#SAY
 <Again/@100m2ch>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough 100mill notes..\
 <Back/@main>\
 <Exit/@exit>\

[@500m2100m]
#IF
checkitem 500mill 1
#ACT
take 500mill 1
give 100mill 5
#SAY
 <Again/@500m2100m>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough 500mill notes..\
 <Back/@main>\
 <Exit/@exit>\

[@1bill2500mill]
#IF
checkitem 1billion 1
#ACT
take 1billion 1
give 500mill 2
#SAY
 <Again/@1bill2500m>\
 <Back/@main>\
 <Exit/@exit>\
#ELSESAY
Sorry you do not have enough 1billion notes..\
 <Back/@main>\
 <Exit/@exit>\
