Heh,
1. I don't see why you would refer to mass tokenizing, whilst in this example this is not a case of mass tokenizing. If it were, then I wouldn't use tokenize myself, as I usually use a variable and then /inc or /dec.
2. I've tested those two test aliases on my own computer now (I was at the computer labs of my university at the time i posted those test1 and test2 aliases) and I still get a maximum difference in speed of 1 ms, in favor for the tokenized way. Even if it would be 50 ms different, I hardly doubt anyone wanting to msg something to a couple of channels, is going to mind the 50 ms. Note that I do think speed is a very important aspect of code, and I'm usually even too obsessed with it, trying to make the fastest working script. It's just that in certain cases, speed isn't an issue...
3. What I posted was not crappy code at all. It was simply an alternative way of achieving something, without having to set any variables to do the loop. The code is also a bit shorter and cleaner, though that is entirely my opinion, not necessarily someone elses. Online's code is even shorter and cleaner, however it is also the least user friendly, since it has no error checking whatsoever.
4. You are right: mass tokenizing should be avoided...but I never stated I use tokenize if I need to do a long loop. I use variables mostly, unless its for stupid lil aliases (like this one), where imo it doesn't matter.
5. About the offensiveness: yeah, that is a problem that will always exist in text-based communication. To me you sounded rude, but maybe u weren't that rude, just my interpretation. Same goes for this post right here, it's not intended to be offensive, just to clarify some things, so my apologies if it would sound rude.
Best to you,
FiberOPtics
Last edited by FiberOPtics; 18/05/04 02:47 PM.