diff options
Diffstat (limited to 'npc/custom/etc/bank.txt')
-rw-r--r-- | npc/custom/etc/bank.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/npc/custom/etc/bank.txt b/npc/custom/etc/bank.txt index 00ebc66c8..e6e75c9f3 100644 --- a/npc/custom/etc/bank.txt +++ b/npc/custom/etc/bank.txt @@ -1,19 +1,19 @@ //===== Hercules Script ====================================== -//= Banker Script -//===== By: ================================================== +//= Banker Script +//===== By: ================================================== //= Syrus22 (1.0) -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 2.0 -//===== Description: ========================================= +//===== Description: ========================================= //= An account wide Banker to store Zeny -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= Syrus22 - There's an optional transaction fee at the top of //= the script. To use it simply change the first set command //= to set the cost variable to whatever you want the fee to be. //= Version 2.0: Optimized and brought the script up to standard. [Jguy] -//============================================================ +//============================================================ -prontera,132,217,5 script Banker 109,{ +prontera,132,217,5 script Banker 4_M_MANAGER,{ set @cost,500; mes "[Banker]"; mes "Welcome to the First Bank of Prontera. How can I help you today?"; @@ -42,8 +42,8 @@ switch(select("I'd like to make a deposit.:I'd like to make a withdrawl.:What's close; } else { - set Zeny,Zeny - @deposit; - set Zeny,Zeny - @cost; + Zeny -= @deposit; + Zeny -= @cost; set #bankstorage,#bankstorage + @deposit; mes "[Banker]"; mes "Thank you very much... Your zeny is in good hands."; @@ -80,8 +80,8 @@ switch(select("I'd like to make a deposit.:I'd like to make a withdrawl.:What's set #bankstorage,#bankstorage - @cost; set @cost,0; next; - set Zeny,Zeny - @cost; - set Zeny,Zeny + @withdrawl; + Zeny -= @cost; + Zeny += @withdrawl; set #bankstorage,#bankstorage - @withdrawl; mes "[Banker]"; mes "There's your Zeny. Have a good day."; @@ -93,8 +93,8 @@ switch(select("I'd like to make a deposit.:I'd like to make a withdrawl.:What's } } else { - set Zeny,Zeny - @cost; - set Zeny,Zeny + @withdrawl; + Zeny -= @cost; + Zeny += @withdrawl; set #bankstorage,#bankstorage - @withdrawl; mes "[Banker]"; mes "There's your Zeny. Have a good day."; |