mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 13
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Sep 2003
Posts: 13
is there a command that shows your own host name on a server without joining a channel first?

Joined: Jan 2003
Posts: 150
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 150
you mean $host & $ip ?


Go ahead, jump. 100,000 lemmings can't be wrong.
Joined: Sep 2003
Posts: 13
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Sep 2003
Posts: 13
no those dont work i mean the host that the server gives you same as when you do $address($me,1) but then one that works when you dont join a channel

i also said it wrong i dont mean host but your adres ore how you call it

Last edited by iwanpompier; 10/09/03 07:40 PM.
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
The server doesn't give you a host, your ISP does. On some networks all hosts are auto-masked when users log in, is that what you mean? In either case, a whois on yourself will show your hostmask.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
The IAL is only updated after you join a channel. If you want your hostname (I assume you're talking about +x stuff) get it from /who and use raw events to capture it.

Joined: Sep 2003
Posts: 13
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Sep 2003
Posts: 13
i already know how to get it but just wanted to know if there was a command already for it if not i wanted to ask for it in the Feature Suggestions forum.

Joined: Jan 2003
Posts: 13
B
Pikka bird
Offline
Pikka bird
B
Joined: Jan 2003
Posts: 13
If there's an identifier, you can use it as a display command as well...

want to display $address($me,1) , try
//echo $address($me,1)

Depends on your network and the IRCd they're using, some of them will tell you in the RAW001 when you connect:
--> Welcome to the Internet Relay Network nick!ident@host.com
If this applies to you, catch the raw001 event.

otherwise, you can always use "to the server" commands like /whois or /who $me or any similar command.


Show me the steps to somewhere in the sky...

Link Copied to Clipboard