PDA

View Full Version : Strings


ownerofbabylon
07-16-2001, 02:41 AM
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. :D

General
07-16-2001, 02:44 AM
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*

ownerofbabylon
07-16-2001, 02:47 AM
you can be asst but i already have a head. Please help me man I gotta learn this.

ownerofbabylon
07-16-2001, 05:14 AM
Alright, im trying to make a fishing pole to get a handle on strings. If someone will help I will DO ANYTHING!!!

General
07-16-2001, 05:28 AM
okay okay, setstring name,#v(strtofloat(#s(name))+1); now i better get asst head

Merlin
07-16-2001, 05:29 AM
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

Merlin
07-16-2001, 05:30 AM
sosad
you beat me lewl

ownerofbabylon
07-16-2001, 11:01 AM
I never said i was a great scripter I just said I would help people if I could

General
07-16-2001, 12:48 PM
am i asst head NAT?!

Shard_IceFire
07-16-2001, 09:17 PM
you shouldn't be asst head NAT you should be ASS head NAT

General
07-17-2001, 01:03 AM
HAHAHAHAHAHA OMG THATS SO FUNNY!!!!!!

(Sarcasm)

kyle0654
07-17-2001, 01:17 AM
Asst head NPC Admin for answering this simple of a question? Jeez, I could go around and get access to every server that way...

Slaktmaster
07-17-2001, 01:20 AM
If he allows you to be asst. head nat for that I would feel [email protected]

General
07-17-2001, 05:19 AM
I know strings!!! I own you!!!!!

entravial
07-17-2001, 02:06 PM
why not ask your head nat?

General
07-17-2001, 10:12 PM
becuz his head NAT sux majer winkies!

entravial
07-18-2001, 09:02 AM
maybe he's the head nat lol

ownerofbabylon
07-18-2001, 10:47 AM
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 =\