Channel Highlight

Do you have script in mind but no ability to make it, type in what it should do, and you might be lucky.

Channel Highlight

Postby jonlar » Fri Aug 14, 2009 1:21 pm

Hello. I have a private channel with just a few ppl in. Round about 6 User. I am looking now for a script where i can Highlight once all of them in this channel. Like !hl and all will be listed in the channel. Thanks for your Help.
jonlar
 

Re: Channel Highlight

Postby Cristian » Fri Aug 14, 2009 1:51 pm

This is not tested, I'm unable to connect with my bot at this point, so I hope you will do the testing for me.

Code: Select all
namespace eval hl {

   bind PUB o !hl [namespace current]::public
   proc public {nickname hostname handle channel argument} {
      set users
      foreach user [chanlist $channel] {
         append users "$user "
      }
      putserv "PRIVMSG $channel :$users"
   }
}
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar


Return to TCL Scripting Request

Who is online

Users browsing this forum: No registered users and 1 guest

cron