![]() |
Clear string list.
How can I clear a string list?
I tried this... but it doesnt work... NPC Code: I also tried with #s. It doesnt work either. |
just unset the string and it goes away
setstring string,; a string list is no different than a normal string, just formatted in a special way |
thanks.
|
but using setstring is ugly.
:frown: |
Quote:
|
Quote:
|
Quote:
|
I meant that when I code, I dislike using setstring, and I only use it when I have to. If I couldn't get deletestring to work, I'd restructure my script so it did work. I don't know what it is about that command but it makes me angry.
|
how does using deletestring make any sense there?
|
upon further examination I see that deletestring doesn't make sense there.
|
setstring is perfect for this, it just deletes the variable and all its contents :) its like in new scripting when you do varname = ""
|
| All times are GMT +2. The time now is 04:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.