ADD: $user and $ident and $identd - 17/04/04 03:26 PM
Ever since mIRC 5.3 or there-abouts, I've wondered why there weren't any IDENT identifying identifiers (say that 3 times fast).
Here is the current lineup of Address Identifiers:
Local
[*] $me -- returns your nickname. (Nickname)
[*] $host -- returns your hostname. (ppp-123.webaccess.net)
[*] $ip -- returns your IP address. (123.123.123.123)
Remote
[*] $nick -- returns the user's nickname. (Nickname)
[*] $site -- returns the user's hostname. (ppp-123.webaccess.net)
[*] $wildsite -- returns the type 2 $mask... (*!*@ppp-123.webaccess.net)
[*] $address -- returns the [email]user@address[/email] (~user@ppp-123.webaccess.net)
[*] $fulladdress -- returns the whole shebang (Nickname!~user@ppp-123.webaccess.net)
What we are missing is the ability to directly access the "user" (aka: ident) portion of a remote address, or our own. So I propose the following identifiers:
Local
[*] [color:000099]$ident -- returns the user portion of your own address. (~user)[/color]
Instead of having to use $gettok($gettok($address($me,5),1,64),2,33) -- and that only works if you're presently in a channel.
Remote
[*] [color:000099]$user -- returns the "user" portion of the user's nickname. (~user)[/color]
Instead of having to use $gettok($address,1,64).
And
[*] [color:000099]$identd -- returns On/Off and Default Identd value (like /identd).[/color]
- Raccoon
Here is the current lineup of Address Identifiers:
Local
[*] $me -- returns your nickname. (Nickname)
[*] $host -- returns your hostname. (ppp-123.webaccess.net)
[*] $ip -- returns your IP address. (123.123.123.123)
Remote
[*] $nick -- returns the user's nickname. (Nickname)
[*] $site -- returns the user's hostname. (ppp-123.webaccess.net)
[*] $wildsite -- returns the type 2 $mask... (*!*@ppp-123.webaccess.net)
[*] $address -- returns the [email]user@address[/email] (~user@ppp-123.webaccess.net)
[*] $fulladdress -- returns the whole shebang (Nickname!~user@ppp-123.webaccess.net)
What we are missing is the ability to directly access the "user" (aka: ident) portion of a remote address, or our own. So I propose the following identifiers:
Local
[*] [color:000099]$ident -- returns the user portion of your own address. (~user)[/color]
Instead of having to use $gettok($gettok($address($me,5),1,64),2,33) -- and that only works if you're presently in a channel.
Remote
[*] [color:000099]$user -- returns the "user" portion of the user's nickname. (~user)[/color]
Instead of having to use $gettok($address,1,64).
And
[*] [color:000099]$identd -- returns On/Off and Default Identd value (like /identd).[/color]
- Raccoon