is there an identifier for all comchans
like $comchan($nick,1)
but for all comchans
(any command to find this will do)
thanx a lot (ner0)
$comchan(nick,0) returns the total number of common channels
$comchan(nick,1) returns the first common channel name
so perhaps if you need the name you could use %x and a while loop
set %x $comchan(nickname,0)
while %x > 0
something of the sort
hope that helps
You could make your own identifier for it.
Example:
alias comchans { var %n = 1, %poop | while ($comchan($$1,%n)) { %poop = $addtok(%poop,$ifmatch,32) | inc %n } | return %poop }
And use it like $comchans(nickname)
Hope that helps
.