mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2005
Posts: 3
A
amarok Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Nov 2005
Posts: 3
Hi,

I'd like to see my own address when joining a channel. I don't want to show it in a public message but only for myself e.g. like the topic. I'd like it to look like this:

-amarok (x!y@z) is now talking in #xyz
-Topic: xyz

I don't know whether there is an option in mIRC to do this, if not, maybe there are some scripts available? I know, I could also /whois myself but I want to see this information directly when joining a channel. Can anyone help me?

Thanks, amarok.

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You can use the ON JOIN event, see /help ON JOIN.

on me:*:join:#:{
echo -ac info2 * $me ( $+ $address($me,5) $+ ) has joined #
}


Regards,


Mentality/Chris
Joined: Nov 2005
Posts: 3
A
amarok Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Nov 2005
Posts: 3
Thanks, this works! The only problem is that it looks kinda ugly because it does only show a * instead of my timestamp. Is there any way to replace the * with my timecode? I know this must look really simple to you, but I've never done any scripting in my life wink

Joined: Nov 2005
Posts: 3
A
amarok Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Nov 2005
Posts: 3
Well, forget it. I found out myself how to do this, it's really simple. But thanks anyways for the great help!

Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
in case someone else wants to know: using the -t switch will show your default timestamp before the echo


If it ain't broken, don't fix it!

Link Copied to Clipboard