![]() |
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... |
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. |
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 :D
|
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. |
Quote:
|
Quote:
|
Quote:
Psst.. |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 08:18 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.