ID:169088
 
Hi,i was Wondering with my banking system can i get a credit/debit card system heres the banking system i am using right now

mob
NPC// the Bank Keeper
Banker
icon='banker.dmi'//defining the bankers icon
icon_state="banker"//defining the bankers icon_state
density=1//You cant walk through a person can you?
verb/Deposit_zenni()// this verb deposits zenni into the Bank_zenni var from your zenni var
set src in view(2)// must be within 2 spaces of the banker
var/Dep=input("How much would you like to deposit? You have [usr.zenni] zenni pieces.","Deposit:") as num
if(Dep>=0)//you cant cheat and get less than 0 zenni
if(Dep<=usr.zenni)// cant deposit more zenni than you have
usr.zenni-=Dep//removes zenni from the users useable zenni
usr.Bank_zenni+=Dep//and puts it in the users banked zenni
usr<<"You now have [usr.Bank_zenni] zenni in the bank, and [usr.zenni] on hand! "
else
usr<<"You don't have that much money!"
else
usr<<"Please don't waste my time..."
verb/Withdraw_zenni()// this verb withdraws zenni from the Bank_zenni var to the users zenni var
set src in view(2)// must be within 2 spaces of the banker
var/Wit=input("You have [usr.Bank_zenni] in the bank. How much would you like to withdraw?","Withdraw:") as num
if(Wit>=0)// you cant withdraw less than 1 zenni.
if(Wit<=usr.Bank_zenni)//you cant withdray more zenni than you have in the bank
usr.Bank_zenni-=Wit//takes the zenni from the bank
usr.zenni+=Wit//puts the zenni in the User
usr<<"You now have [usr.Bank_zenni] zenni in the bank, and [usr.zenni] on hand!"
else usr<<"You don't have that much money in the bank!"
else usr<<"PLEASE don't waste my time!"


If so How do i go about this?