mIRC Home    About    Download    Register    News    Help

Print Thread
#139953 20/01/06 09:13 AM
Joined: Mar 2005
Posts: 21
I
Iljan Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Mar 2005
Posts: 21
What is the 'tag' for the hostmask?

Like $nick is the nickname and $me is my nickname but what is it for the hstmask?

And will %variable.$chan work like the outcomming is %variable.#channel ?

Thanks for the support smile

Last edited by Iljan; 20/01/06 09:13 AM.
#139954 20/01/06 09:33 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
A) I think you're wanting $host
Quote:
$host
Returns your Local host name.


B) Use $+(%,variable.,$chan)
If $chan was #James
then that would return %variable.James

#139955 20/01/06 09:40 AM
Joined: Mar 2005
Posts: 21
I
Iljan Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Mar 2005
Posts: 21
It is for a script, its about the hostname of the person who sends like !op Iljan it has to check if Iljan is really Iljan by the hostmask.

(so not the hostof the bot itself) smile

Last edited by Iljan; 20/01/06 09:41 AM.
#139956 20/01/06 09:43 AM
Joined: Mar 2005
Posts: 212
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
$address(name,N)
/help $address

Last edited by NeUtRoN_StaR; 20/01/06 09:44 AM.

Link Copied to Clipboard