Sponsor Advertisements help keep UGN Security Online.
Sponsor Advertisements help keep UGN Security Online.
Want to earn prizes for clicking online advertisements? Join Rewards1.com.
|
|
|
#20309 - 03/07/02 04:23 PM
/me
|
Community Owner
   
Registered: 02/28/02
Posts: 7192
Loc: Portland, OR; USA
|
Until i can get an updated version of the irc, /me will be broken, with SR's help we made the following: (with a small modification by me) /me { if ($server == irc.undergroundnews.com) { /msg $chan (colorcodes) $+ * $me $1- } else { /describe $chan $1- } } This will make it so that /me acts as: [09:04] * QuickyMcLoseload looks at Bhodi
on the UGN Security server, or a standard /me on any other network. This problem is being worked on and we will keep you up to date.
|
|
Top
|
|
|
|
Sponsor Advertisements help keep UGN Security Online.
Sponsor Advertisements help keep UGN Security Online.
|
|
#20311 - 03/07/02 06:44 PM
Re: /me
|
Junior Member
Registered: 03/04/02
Posts: 9
Loc: Ohio
|
As a rule in IRC, what is everyone using? Personally I use MIRC w/ eXtreme... just curious. One of these days I'll have to hop in and say w00t!
_________________________
-=[Do Not tap on the glass. Do Not feed the geeks. They are on a strict diet of caffeine and no sleep.]=-
|
|
Top
|
|
|
|
#20315 - 04/05/02 02:09 AM
Re: /me
|
Junior Member
Registered: 03/05/02
Posts: 30
|
Here is a solution for those using x-chat:
#!perl #you may need to change first line IRC::register("/me fix", "0.01", "", ""); IRC::add_command_handler("me", "me"); IRC::print("/me fix loaded..");
sub me{ $server_name=IRC::get_info(3); $nick=IRC::get_info(1); if($server_name eq "irc.undergroundnews.com"){ IRC::command("%C11* $nick $_[0]"); return 1; } }
NOTES: -If you do not have perl installed on your system this will not work. -I suggest putting this in the x-chat folder named me.pl and then adding the command /load me.pl to your on-connect commands for irc.undergroundnews.com -You can have this script always loaded becuase the command will be execute by x-chat unless you are on irc.undergroundews.com -You can change the output color by using one of the x-chat color codes where i have but %C11.
NOTEs for Programers: Yes i know the code could have been smaller and a bit more efficient but i wanted it to be readable by non-programmers. In addition the reason no else statement is needed is that unless the return of the sub is 1 the command will "fall through" to other scripts or x-chat itslef, and as you can see the return value is only 1 when the if block is used. Finally, the @_ array hold the arguements after the /me command just as if they had been passed to the subroutine by the main script.
|
|
Top
|
|
|
|
#20316 - 04/05/02 08:02 PM
Re: /me
|
Member
Registered: 03/12/02
Posts: 626
Loc: LAN
|
YOU SOBS KILLED /me!!!! LOL that sounds funny... Sorry was very tempting... /me feel better
_________________________
-hKzKnight "The ghost... Was never there and you'll never see me"
|
|
Top
|
|
|
|
|
Registered: 03/16/13
Posts: 5
|
|
2198 Members
46 Forums
24921 Topics
60091 Posts
Max Online: 1567 @ 04/25/10 10:20 AM
|
|
|
1 registered (Gremelin),
130
Guests and
70
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|