mIRC Home    About    Download    Register    News    Help

Print Thread
#17476 30/03/03 08:42 PM
Joined: Mar 2003
Posts: 3
P
Peewee Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Mar 2003
Posts: 3
plz allow scripts to set the $ip ...
i tried to write the mirc.ini and to flush it but ... nothing

it would be useful to dns a fixed hostname (dyndns, no-ip) in order to get the ip

I think it is quite easy to do, no?

#17477 30/03/03 11:00 PM
Joined: Jan 2003
Posts: 87
T
Tat Offline
Babel fish
Offline
Babel fish
T
Joined: Jan 2003
Posts: 87
I'm racking my brain. How would this help? The sucker gets the proper legit ip address, outside of nat's ect. And manually setting the ip address would accompish what? Other than messing up dcc sends? Granted, I have seen once or twice somebody who didn't know what their actual ip address was, all it seemed to do was glitch stuff up. I could see a button to reaquire the ip address but to manually set it?

#17478 30/03/03 11:22 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
/help /localinfo

#17479 31/03/03 05:31 AM
Joined: Mar 2003
Posts: 3
P
Peewee Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Mar 2003
Posts: 3
1°/ it would be a nice thing since everything in mIRC can be scripted but $ip is not.
2°/it would take <2 min to prgram it
3°/if i find this useful maybe some people do too.... i'm connectiong to the irc thru a bnc which can't tell me my $ip and $ip returns $null .... until i replaced it in options but i want to do this automaticly with a /dns my fixed hostname and ON dns /setip_or_i_don't_know_what $dns().ip

#17480 31/03/03 10:23 AM
Joined: Dec 2002
Posts: 44
P
Ameglian cow
Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 44
1: $ip is script, or don't I get the point on that contradiction

2: If you seem to know the code so well, that you can say how long it take, why are you not adding it yourself. What you can't see, you can't possibly know.

3: $ip is set using the method setup in the "local info" section of the setup screen, and also controled via the "/localinfo" command.

You can force value using the command, and via the setup screen.

Try switching the lookup mode in the "local info" screen.

Script it all yourself. Using script, you can totaly skip the need for $ip, and it wouldn't even take much code. In fact, with such a small script, it would take you on 2 mins.


Suck it, lick it, milk it then put it away.
#17481 31/03/03 11:01 AM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Quote:
/setip_or_i_don't_know_what $dns().ip

I already told you the "what".

/localinfo -uh [host ip]
Looks up and sets your local info settings. The -u switch performs a /userhost lookup, the -h switch does a normal lookup. If you wish, you can also set the local info manually by specifying the host and ip values.

#17482 31/03/03 05:06 PM
Joined: Mar 2003
Posts: 3
P
Peewee Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Mar 2003
Posts: 3
shocked i hadn't foudn this command.... excuse me


hey master, you can delete my unuseful posts


Link Copied to Clipboard