Quote:
Originally posted by Kaimetsu
Personally I just wouldn't use a string array, though it depends on how many of each hat you want to allow people to have. If you use ascii() and #K() then you can compact numbers over a fairly large range into a single byte, and then just use a normal string with one character per hat.
|
Sounds good. But lazy as I am, I'd like Stefan to fix the deletestring command.
Quote:
Originally posted by Stefan
Variables like hatnum are local, belonging to the current script, so you can use hatnum like you have written, and it works. You have problems when calling functions of joined classes, because those don't know of the local variables of the other script.
|
Yes, the classes I made are only accessing this.variables when they need data from the main script.
But here I am not calling a joined function. Here it looks like deletestring is always deleting number zero, no matter what I command it to delete.
I will test what happens when I enter a constant number to deletestring. Maybe it is just bugged when using variables. Though I doubt it.