mIRC Home    About    Download    Register    News    Help

Print Thread
#165400 26/11/06 02:25 AM
R
Rewtor
Rewtor
R
As the subject says, is anyone else having this problem?

#165401 26/11/06 03:05 AM
Joined: Nov 2004
Posts: 822
J
Hoopy frood
Offline
Hoopy frood
J
Joined: Nov 2004
Posts: 822
What server are you connecting too?

I know $ip doesn't work on localhost(s).

Last edited by Jigsy; 26/11/06 03:28 AM.
#165402 26/11/06 03:10 AM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
$ip works just fine for me, using Windows XP and mIRC 6.21

#165403 26/11/06 06:58 AM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Works fine here as well. As mentioned, check it on other networks. Also, make sure you don't have a script running that replaces the $ip command with its own. If you do, then the script may not be compatible with 6.21.

#165404 26/11/06 05:25 PM
D
DaveC
DaveC
D
you cant replace $identifiers

#165405 26/11/06 09:45 PM
Joined: Apr 2004
Posts: 755
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 755
Thats debateable concidering these aliases:
alias xor return hello_xor
alias rgb return hello_rgb
alias ip return hello_ip
and
this:
//echo -a ( $rgb $rgb(123,123,123) ) ( $xor $xor(1,1) ) ( $.ip $/ip $ip )
returning
( hello_rgb 8092539 ) ( hello_xor 0 ) ( hello_ip hello_ip 80.5.185.41 )

wink

#165406 26/11/06 10:43 PM
Joined: Nov 2004
Posts: 822
J
Hoopy frood
Offline
Hoopy frood
J
Joined: Nov 2004
Posts: 822
It only seems to work on on $identifiers that require parameters. ;o

#165407 26/11/06 11:34 PM
D
DaveC
DaveC
D
its debatable alright, i dont think i really agree with your cases tho, all the ones u showed that were over ridden were not valid internal identifiers.

Was interesting thing to note tho smile

#165408 27/11/06 01:01 AM
Joined: Feb 2006
Posts: 523
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2006
Posts: 523
apparently the $.identifier and $/identifier cases are actually bugs to do with the fact that . and / are both command prefixes, and something unusual happens when they'e parsed which is why $.../../././/.//../.ip and such will also refer to the custom 'ip' identifier


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde
#165409 27/11/06 10:19 AM
Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Regarding "$rgb" and "$xor", these work because $identifer and $identifier() are considered different in mirc. For example, you can't have a $bits alias but you can have a $bits() one.

#165410 27/11/06 10:29 AM
Joined: Apr 2004
Posts: 755
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 755
I know that's what i tried showing and put it's debatable instead of stating you can replace mIRC's own identifiers :tongue:
Regarding prefixing with ./: it does trigger the custum alias i.e //echo -a $.rgb(0,0,0) returning hello_rgb but you cant really say it overrides the custum one since you need a "hack" to call it.

Last edited by Mpdreamz; 27/11/06 10:33 AM.

Link Copied to Clipboard