Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-19-2001, 10:13 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Good Bank

I am just a server owner, not a scripter. Can someone tell me a good bank ATM script??? All the ones I have and know how to make are like hit with sword for money and I want one that when they say deposit 212 it checks if they have 212 and deposits it or withdraws it and stuff. Does anyone know this script???
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #2  
Old 06-19-2001, 10:17 AM
Lion'el-Jonson Lion'el-Jonson is offline
Please Wait....
Lion'el-Jonson's Avatar
Join Date: Mar 2001
Location: I like to eat food samples at price club.
Posts: 1,663
Lion'el-Jonson will become famous soon enough
Send a message via AIM to Lion'el-Jonson Send a message via Yahoo to Lion'el-Jonson
Whoa that's a hooge sig!
__________________


"My words are like weaponry on a record"
Reply With Quote
  #3  
Old 06-19-2001, 10:42 AM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
Just steal GCMs from the old levels pack...Its, what i do
Reply With Quote
  #4  
Old 06-19-2001, 03:47 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Really simple and probably really stupid bank:
NPC Code:
if (playerchats) {
tokenize #c;
if (strequals(#t(0),deposit)) {
if (strtofloat(#t(1))<1) setplayerprop #c,You must type a number bigger then 0;
else if (strtofloat(#t(1))>playerrupees) setplayerprop #c,You don't have that much money!;
else {
setstring client.moneydeposited,#v(strtofloat(#s(client.mone ydeposited))+strtofloat(#t(1)));
playerrupees-=strtofloat(#t(1));
setplayerprop #c,You now have #v(strtofloat(#s(client.moneydeposited)) gralats on the bank;
}
}
if (strequals(#t(0),withdraw)) {
if (strtofloat(#t(1))<1) setplayerprop #c,You must type a number bigger then 0;
else if (strtofloat(#t(1))>strtofloat(#s(client.moneydepos ited))) setplayerprop #c,You don't have that much money on the bank!;
else {
setstring client.moneydeposited,#v(strtofloat(#s(client.mone ydeposited))-strtofloat(#t(1)));
playerrupees+=strtofloat(#t(1));
setplayerprop #c,You now have #v(strtofloat(#s(client.moneydeposited)) gralats on the bank;
}
}
if (strequals(#c,bank balance)) setplayerprop #c,You have #v(strtofloat(#s(client.moneydeposited)) gralats on the bank;
}

__________________

Reply With Quote
  #5  
Old 06-20-2001, 02:27 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
thanks man
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #6  
Old 06-20-2001, 03:46 AM
cds96 cds96 is offline
randomrubbish.net
cds96's Avatar
Join Date: May 2001
Location: Sunny ol' England
Posts: 6,184
cds96 is on a distinguished road
Send a message via ICQ to cds96 Send a message via AIM to cds96
i have a working bank. its been used on many pw's just ask for it man, post ur email here and ill send it asap okies
__________________


craig is now backing up cookies ;]
Reply With Quote
  #7  
Old 06-20-2001, 07:18 PM
Butz Butz is offline
Foxy
Butz's Avatar
Join Date: May 2001
Location: New York State
Posts: 2,831
Butz is on a distinguished road
Send a message via AIM to Butz
Bank...

I could use a bank..
It would save me the time of trying to script one myself?
my email is...
[email protected]
__________________

FoxKelfonne @ DeviantART(updated: Dec 14, 2010)
Many Thanks to konidias for my avatar



Shawn Kelfonne - Aegis Mage of Dustari
Reply With Quote
  #8  
Old 06-20-2001, 09:17 PM
LilNiglet LilNiglet is offline
Registered User
Join Date: Jun 2001
Posts: 3,178
LilNiglet is on a distinguished road
yah mail it to me too
[email protected]
Reply With Quote
  #9  
Old 06-22-2001, 09:16 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
Quote:
Originally posted by General
Just steal GCMs from the old levels pack...Its, what i do
You steal GCMs bank (mine) and I shoot you with this here shotgun!

*pulls out shotgun, loads gold bullet, and aims*

- Kyle
~ On Vacation ~
Reply With Quote
  #10  
Old 06-22-2001, 09:36 AM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
lol, yu scripted that hugeass script?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.