mIRC Home    About    Download    Register    News    Help

Print Thread
#165400 26/11/06 02:25 AM
Joined: Sep 2006
Posts: 59
R
Rewtor Offline OP
Babel fish
OP Offline
Babel fish
R
Joined: Sep 2006
Posts: 59
As the subject says, is anyone else having this problem?

#165401 26/11/06 03:05 AM
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
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.

What do you do at the end of the world? Are you busy? Will you save us?
#165402 26/11/06 03:10 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
$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,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net
#165404 26/11/06 05:25 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
you cant replace $identifiers

#165405 26/11/06 09:45 PM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
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


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


What do you do at the end of the world? Are you busy? Will you save us?
#165407 26/11/06 11:34 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
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: 546
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2006
Posts: 546
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,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
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.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#165410 27/11/06 10:29 AM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
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.

$maybe

Link Copied to Clipboard