Thread: ...stumped...
View Single Post
  #12  
Old 01-09-2002, 06:36 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Re: ...stumped...

Quote:
Originally posted by BlKnight
I think its a glitch with graal now, but look. I have this loop, when I use variables it works perfect, but when I use strings (and I have to use strings because regular variables will go to 0 when you leave levels) the while loop doesn't work. Heh, it may be a n00b question, but I don't care. Here it is:

while (!strequals(#v(this.on),#s(mapf))) {
this.on=strtofloat(#s(mapf));
}

Heh...I'm not going to show the whole script because of the genius calulations and script...but anywho go ahead and make fun of me for not knowing how to fix this simple problem -_-. Tell me how to fix it first though
while's which have run once and have no reason to run again (E.G. no "trigger" flag like timeout), won't run again. Putting it in a timeout loop will probably fix your problem.
__________________

Reply With Quote