Mrmot   -  May 03, 2016

I have one question about channel list. Is there a way to make script so it will check on text for channels in channel list. Like: someone: #coolchannel (script is checking for server channel list its match Ban) ? Thabks

illhawkthat  -  May 07, 2016

Sure you could do that!

alias findchan {
  var %n = 1
  while ($chan(%n)) {
    if (* $+ $1 $+ * iswm $chan(%n)) { echo -at found at $chan(%n) }
    inc %n
  }
}

And then just do /findchan hi and it will return all channels that match the text hi hope that helps.

Mrmot  -  May 23, 2016

Well i know that, that is when you are on that channel. But im asking is there a way to look up server channel list if someone type come #channel or im on #channel or #channel (name with hashtag) and my script checks if there is channel with that name on server channel list?

illhawkthat  -  May 23, 2016

I think it depends on how the server handles /list. Try /list #searchtext to see if that works. Some servers allow searching all channels and some don't.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.