Change this line:
Quote
set -l $+(%,ListK.,%index) %nick %CurrentVal
by this line:
Quote
set -l $+(%,ListK.,%index) %nick $+ $chr(44) $+ %CurrentVal

And this line:
Quote
echo # $sorttok($var(%ListK.*,%x).value,32)
by this line:
Quote
echo # $sorttok($var(%ListK.*,%x).value,44)


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