![]() |
String Help!
ok i need help on how to make it if you say show lemons it shows homany lemons u got
|
if the string is called lemons for example
if(playerchats && strequals(#c,lemons)){ say2 You got #s(lemons) Lemons; } |
Yup =) Not that hard.
|
ummmmm....
I think you should keep it organized...
NPC Code: note the client. :rolleyes: --PastAustin |
lol
I am a retard...but I like to keep client strings so that they have client before them it makes me happy. And I am NAT Chief on Doomsday....so listen to me! :-D. I am happy now that you all know that I am obsessive compulsive.
--PastAustin :rolleyes: |
hmm
NAT Chief that doesnt know how to use strings odd |
um... it has no use on non p2p PWs like Doomsday so this are useless bits ;)
|
nvm my last post
it made no sense at all i got everyone names mixed up completly opps |
Quote:
|
Damn Skipy...
Me not able to use strings?
yeah right. what do you want? try me. --PastAustin |
i did say nvm my last post
i thought you started the thread but i relized you didnt |
Quote:
|
Re: lol
Quote:
|
~AlphaFlame~
If the string is a number... strtofloat(#s(stringname))... If the string is a number and you're adding to it... setstring stringname,#v(strtofloat(#s(stringname))+1);.... Otherwise, #s(stringname) works... by the way, did any of you realize you can add to strings? :-P setstring stringname,#s(stringname) newtext;... useful for a couple of things... like anti-curse systems that replaces the text... And don't diss Saga. If he ever gets on a p2p server as a NAT, the habit of using client. will be useful.... |
Saga uses the "icepick" method of scripting :rolleyes:
|
| All times are GMT +2. The time now is 12:49 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.