incase u didn't see it considering i posted it presumibly while you were replying

Quote:

EDIT:
keep in mind that does not work for incoming text, only outgoing. I.e. you can't preserv an on text's sequencial spacing using that.


not pssible, thats like saying..

Code:
/test {
  var %a = 1, %string = .a.b.c......d.e.f
  while ($gettok(%string, %a, 46)) {
    /set %t [ $+ [ %a ] ] $ifmatch
    /inc %a
  }
  /echo -a %t4
}


we all know %t4 will echo d. Same goes with spaces. Mirc handles the $1, $2, ..., $n by seperating things by spaces. So if it sees two spaces and a null between them, why should it be counted? I mean if you had (underscores represent spaces)

hello_there____kingtomato

and had

on 1:TEXT:*:#: {
/echo -a $3
}

would you really want $3 to echo a null just so you can have multiple spaces?


-KingTomato