You should be able to get this working with $mid :
Code:
on *:text:*:#:{
tokenize 32 $strip($1-)
;strip all control code
if ($1 == !guess) {
var %a = 1, %b = $len($$2)
while (%a <= %b) {
set -l $+(%,%a) $mid($2,%a,1)
;/set -l is the same as /var but it let you make dynamic variable (here %N where N is a number between 1- %b)
inc %a
}
echo -a > %1 - %2 - %3 - %4 ... <
} 
}


#mircscripting @ irc.swiftirc.net == the best mIRC help channel