mIRC Home    About    Download    Register    News    Help

Topic Options
#262892 - 16/04/18 07:58 PM bug in identifiers $address and $mask
rockcavera Offline
Ameglian cow

Registered: 05/08/16
Posts: 44
Loc: Brazil
Hello!

Correct me if I'm wrong. However, if I am not wrong, I believe it to be a bug.

The identifier $ial(NICK) returns the fulladdress of a nick (NICK!USER@HOST) if it is in the IAL list.

The identifier $address(NICK, 5) would have to return the fulladdress of a nickname as well.

However, I checked that the $address(NICK, 5) returns only the last ten characters of the USER. This problem extends to the identifier $mask.

Example:
Code:
//echo -a $mask(abcdefghijklmnopqrstuvwxyz!abcdefghijklmnopqrstuvwxyz@abcdefghijklmnopqrstuvwxyz,5)

Return: abcdefghijklmnopqrstuvwxyz!qrstuvwxyz@abcdefghijklmnopqrstuvwxyz
_________________________
rockcavera
#Scripts @ irc.VirtuaLife.com.br

Top
#262894 - 16/04/18 09:29 PM Re: bug in identifiers $address and $mask [Re: rockcavera]
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 869
Have a look at this thread and the ones it links. It's a known issue.
https://forums.mirc.com/ubbthreads.php/topics/261024/$address(nick,5)_incorrect_res

Top