|
|
#20309 - 03/07/02 11:23 AM
/me
|
Community Owner
   
Registered: 02/28/02
Posts: 6958
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
|
|
|
|
Sponsored Links
Sponsor 
|
Sponsor Advertisements help keep UGN Security Online.
Support UGN Security by Purchasing our Sponsors Products.
|
| Top |
|
|
|
#20311 - 03/07/02 01: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/04/02 08:09 PM
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 02: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
|
|
|
|
#20317 - 05/16/02 08:36 PM
Re: /me
|
Phoenix Warrior
Registered: 03/01/02
Posts: 502
Loc: (954) Hollywood, FL
|
"/me" is still broken, no updates yet
_________________________
"No-One Can Make You Feel Soo Alone Like SHE Can, NOBODY!" - Nick Hexum³¹¹
|
|
Top
|
|
|
|
|
Registered: 03/03/02
Posts: 23
|
|
6889 Members
44 Forums
11030 Topics
45809 Posts
Max Online: 677 @ 06/30/07 10:06 PM
|
|
|
0 registered (),
6
Guests and
7
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|