mIRC Home    About    Download    Register    News    Help

Print Thread
replace normal identifier with custom #124756 10/07/05 04:02 PM
Joined: Jul 2004
Posts: 59
S
synth7 Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Jul 2004
Posts: 59
Is it possible to replace a current identifer, such as $ip with one of my own? I want to trick someone :tongue:

Code:
alias ip {
  return 66.249.71.29 
}



Re: replace normal identifier with custom #124757 10/07/05 04:24 PM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
In short: no.

There is a way that you could do:

alias ip return blah

//echo -a $.ip - $/ip

however that's not exactly replacing the usage of $ip. So no.


Gone.
Re: replace normal identifier with custom #124758 12/07/05 02:06 AM
Joined: Jul 2004
Posts: 59
S
synth7 Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Jul 2004
Posts: 59
Then let me ask this. I'm behind a router, so mIRC (and most everything else) sees my IP as 192.168.1.101 with $ip. Is there some way mIRC can get my real IP?

Last edited by synth7; 12/07/05 02:06 AM.


Re: replace normal identifier with custom #124759 12/07/05 02:31 AM
Joined: Feb 2005
Posts: 681
M
mIRCManiac Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
options (alt+o) > connect > local info
on connect always get select IP address
lookup method select server

you can also type /localinfo -u while connected to
a server to force mIRC to do a userhost to get your
wan ip and host.