I modifed my code:
NPC Code:
// NPC made by Boco
if (playerenters) {
test=1;
this.test=1;
level.test=1;
client.test=1;
server.test=1;
//If return's 1, then it works. If 0, then brokey
say2
Normal is #v(test)#b
Level is #v(level.test)#b
NPC-Only is #v(this.test)#b
Client is #v(client.test)#b
Server is #v(server.test);
}
I tested all forms of the variable, and these are my results. I ran the test NPC and a sign popped up saying:
Normal is 1
Level is 1
NPC-Only is 0
Client is 1
Server is 1
this.variables are the only ones that don't work right. #s(this.variables) work, but for some reason, they don't with #v()... I am pretty sure this is a bug. Should I post this on the bug board now?