While we are at it, it could be a good idea to add an != $null check in the while condition, so that the loop doesn't stop when one of the tokens is a 0. Ok, it might still go wrong if a person says $false or $null in a string, though the odds of that happening are a lot slimmer.
Oh Damn i just broke one of my scripts using "balh blah blah $null what about this text then?"
while $0 {
do things
tokenize 32 $2-
}
I love using tokenize 32 $2-,
I think it helps make the code more usable, since any alterations/additions dont need some complexe refrencing to what your processing this time through, no $eval($ $+ %i,2) <is that even right?> or $gettok($1-,%i,32), just a plain simple $1
People who ask for help here on the boards are amongst the luckiest, since scripters nitpick so much, just to give the "best" help. This isn't aimed at you Dave, just replying to you as you are the last poster in the thread :tongue:
No probs, as I said above, I nneded that notice myself, sicne i didnt think of someone deliberitly putting a text in to confuse the script langauge.
I took the nicks [ ] { | } on my favorite net since i new they can play screwy with some scripts.