i think what you should do, is...
NPC Code:
this.uther = strtofloat(#s(mapf));
while (this.on!=this.uther) {
this.on=strtofloat(#s(mapf));
}
simple fix...right? for some reason, if you did this:
NPC Code:
while (this.on!=strtofloat(#s(mapf))) {
this.on=strtofloat(#s(mapf));
}
it wouldn't work, i think because in order to test something, it has to be a 1 or 0 not a string, strpings always equal 0. i learned that when i jailed every player on doomsday with my jailing system...bad news bear...