to add more channel to the ini u can do
//writeini file.ini messages msgchans $addtok($readini(file.ini,messages,msgchans),#channel,44)
and delete
//writeini file.ini messages msgchans $remtok($readini(file.ini,messages,msgchans),#channel,44)
and what u want is:
//var %x = 1,%y = $readini(file.ini,messages,msgchans),%z = %y | while (%x <= $numtok(%y,44)) { if ($me !ison $gettok(%y,%x,44)) { %z = $remtok(%z,$gettok(%y,%x,32),44) } | inc %x } | if (%z) msg %z %msg_here
Last edited by ScatMan; 04/06/03 12:52 PM.