Code:
alias converting {

set -u %chansection $1
set -u %scorefile wolfcoins.txt
filter -ffkn viewers.txt convert.cb
}
alias convert.cb writeini -n coins.ini %chansection $gettok($1,2,32) $read(%scorefile,tn,$gettok($1,1,32))
This should convert to coins.ini, type /converting <channel>, you now have a multi-channel script, a number of point is now per nick but also per channel.


Ps: that alias is an example illustrating why /var -gu would be useful

Last edited by Wims; 21/08/14 06:43 PM.

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