Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-16-2001, 02:41 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
Strings

How do you make a string and everytime somthing happens it adds a certain ammount to the string.

I do not wanna make fishing (to outdont) but in example say I was fishing an it got a fish. How could I have a string made that stayed with the player and when they caught a fish it added 1 to a string called fish. Then they could go sell it and the NPC saw how much was in that string and set it back to zero and dropped a gralat or each 1 in the string so if they had 30 they got 30 gralat.

I will do anything for some help.
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #2  
Old 07-16-2001, 02:44 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
Wink

I will tell you if I get to be head NAT on your server...

*added* heh, how do you think i got on Sidra *added*
Reply With Quote
  #3  
Old 07-16-2001, 02:47 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
you can be asst but i already have a head. Please help me man I gotta learn this.
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #4  
Old 07-16-2001, 05:14 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
Alright, im trying to make a fishing pole to get a handle on strings. If someone will help I will DO ANYTHING!!!
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #5  
Old 07-16-2001, 05:28 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
okay okay, setstring name,#v(strtofloat(#s(name))+1); now i better get asst head
Reply With Quote
  #6  
Old 07-16-2001, 05:29 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
hey in other threads you always talk about how much of a great scripter you are but dont know strings? pfft

anyway


if (playerchats&strequals(#c, )) {setstring server.stringname,#c;}

and to display it
timeout=.3;
if (timeout) {message #s(server.stringname);
timeout=.3;
}
that is uber basic
Reply With Quote
  #7  
Old 07-16-2001, 05:30 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
sosad
you beat me lewl
Reply With Quote
  #8  
Old 07-16-2001, 11:01 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
I never said i was a great scripter I just said I would help people if I could
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #9  
Old 07-16-2001, 12:48 PM
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
am i asst head NAT?!
Reply With Quote
  #10  
Old 07-16-2001, 09:17 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
you shouldn't be asst head NAT you should be ASS head NAT
__________________

-=Shard IceFire=-
Reply With Quote
  #11  
Old 07-17-2001, 01:03 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
HAHAHAHAHAHA OMG THATS SO FUNNY!!!!!!

(Sarcasm)
Reply With Quote
  #12  
Old 07-17-2001, 01:17 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
Asst head NPC Admin for answering this simple of a question? Jeez, I could go around and get access to every server that way...
Reply With Quote
  #13  
Old 07-17-2001, 01:20 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
If he allows you to be asst. head nat for that I would feel insulted!@
Reply With Quote
  #14  
Old 07-17-2001, 05:19 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
I know strings!!! I own you!!!!!
Reply With Quote
  #15  
Old 07-17-2001, 02:06 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
why not ask your head nat?
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #16  
Old 07-17-2001, 10:12 PM
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
becuz his head NAT sux majer winkies!
Reply With Quote
  #17  
Old 07-18-2001, 09:02 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
maybe he's the head nat lol
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #18  
Old 07-18-2001, 10:47 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
Dude, General, I was joking. LOL You gotta show me more skill than that. And for the rest of you My Head NAT is good he just isnt good at teaching me =\
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:05 AM.


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