track user/channel - 24/08/10 10:33 AM
I trying to track users that are on the same channel as me. And i made this code
Now to my question.
How can i
1: get the channel the user are on from the var %tmp.track (i know i can use var = instead of set)
2: also include other networks if im connected to more then one
Code:
alias tchan { var %x = $chan(0) var %y = 1 while (%y <= %x) { set %tmp.track $addtok($chan(%y),44,1) $chan(%y) inc %y } } alias track { if ($1 != $null) { if ($1 isin %tmp.track) && ($1 != $me) { echo -a $1 ison #channel_user_is_on | return } } }
Now to my question.
How can i
1: get the channel the user are on from the var %tmp.track (i know i can use var = instead of set)
2: also include other networks if im connected to more then one