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 11-27-2003, 07:52 PM
Toxin Toxin is offline
Still sane
Toxin's Avatar
Join Date: Nov 2003
Location: USA
Posts: 57
Toxin is on a distinguished road
Send a message via AIM to Toxin
Another string array post, weee

deletestring client.messages,sarraylen(client.messages);
does not seem to work, anyone wanna enlighten me on why?

My goal is to get it to delete the most recent part in the array, i've tried tokenscount from tokenize, and such, and varied ways of #v(sarraylen(client.messages)), and such, I know I must be missing something...
__________________

Staff Position: Unemployed
Quote: "Flamers, Lamers, and Newbs! Oh my!" - Toxin
Reply With Quote
  #2  
Old 11-27-2003, 08:08 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
You have to subtract 1 from the length of the string.

Becouse the length starts from 1.

And the list indicies start from 0.


I think that's why, but you have to subract 1.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #3  
Old 11-27-2003, 08:16 PM
Toxin Toxin is offline
Still sane
Toxin's Avatar
Join Date: Nov 2003
Location: USA
Posts: 57
Toxin is on a distinguished road
Send a message via AIM to Toxin
Talking

OMG thanks man, lifesaver, it worked, cant believe I didnt think about that, when I was using -1 on all the things above to show the text, haha... I love the forums, before I got this account upgraded, like, I was alone in my problems o.0, now I can reach my full potential with a little assistance here and there when needed
__________________

Staff Position: Unemployed
Quote: "Flamers, Lamers, and Newbs! Oh my!" - Toxin
Reply With Quote
  #4  
Old 11-27-2003, 08:23 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Glad to be of service.

Wary of the forum Wolves though, they stalk youngins who can't spell right, or accidentally say something that isn't perfect in every way shape and form.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #5  
Old 11-27-2003, 08:30 PM
Toxin Toxin is offline
Still sane
Toxin's Avatar
Join Date: Nov 2003
Location: USA
Posts: 57
Toxin is on a distinguished road
Send a message via AIM to Toxin
Quote:
Originally posted by adam
Glad to be of service.

Wary of the forum Wolves though, they stalk youngins who can't spell right, or accidentally say something that isn't perfect in every way shape and form.
Well, I have a shotgun ready to keep those wolves from my chickens
__________________

Staff Position: Unemployed
Quote: "Flamers, Lamers, and Newbs! Oh my!" - Toxin
Reply With Quote
  #6  
Old 11-28-2003, 01:00 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally posted by Toxin


Well, I have a shotgun ready to keep those wolves from my chickens
I find it ironic (but, in a way, it makes perfect sense) that Adam contributes much stupidity+negativity to the forums, yet is delusional enough to feel he's correct in warning other people about such things.
Reply With Quote
  #7  
Old 11-28-2003, 01:13 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by adam
Glad to be of service.

Wary of the forum Wolves though, they stalk youngins who can't spell right, or accidentally say something that isn't perfect in every way shape and form.
The chief of the wolfs has just quit.

Psst..
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #8  
Old 11-28-2003, 03:59 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by osrs


The chief of the wolfs has just quit.

Psst..
His clones will take care of business just fine.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #9  
Old 11-28-2003, 09:23 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
Quote:
Originally posted by Lance


I find it ironic (but, in a way, it makes perfect sense) that Adam contributes much stupidity+negativity to the forums, yet is delusional enough to feel he's correct in warning other people about such things.
*lmao @ the timelyness and irony in lance replying, not just the irony in the reply*
__________________
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 05:07 AM.


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