Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Get local ip
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Get local ip
#
229890
19/02/11
05:39 AM
Joined:
Nov 2009
Posts: 295
P
pball
OP
Fjord artisan
OP
pball
Fjord artisan
P
Joined:
Nov 2009
Posts: 295
Is there an easy way to get the local ip address? I'm updating a client/server script that is used over lan and I'd like to get the local lan ip.
Copy Link to Clipboard
Re: Get local ip
pball
#
229892
19/02/11
06:12 AM
Joined:
Jul 2007
Posts: 1,124
United States
T
Tomao
Hoopy frood
Tomao
Hoopy frood
T
Joined:
Jul 2007
Posts: 1,124
United States
Have you tried the $ip identifier?
Copy Link to Clipboard
Re: Get local ip
Tomao
#
229897
19/02/11
05:22 PM
Joined:
Nov 2009
Posts: 295
P
pball
OP
Fjord artisan
OP
pball
Fjord artisan
P
Joined:
Nov 2009
Posts: 295
that gets the external ip, if by chance it gets your local ip that is just random chance. Well not random but it does that when it doesn't resolve your external ip or something like that.
so $ip won't work
Copy Link to Clipboard
Re: Get local ip
pball
#
229898
19/02/11
06:17 PM
Joined:
Jul 2006
Posts: 4,020
France
W
Wims
Hoopy frood
Wims
Hoopy frood
W
Joined:
Jul 2006
Posts: 4,020
France
You have to use /localinfo -h in order to fill $ip with your local ip
#mircscripting @
irc.swiftirc.net
== the best mIRC help channel
Copy Link to Clipboard
Re: Get local ip
Wims
#
229943
20/02/11
05:18 PM
Joined:
Nov 2009
Posts: 295
P
pball
OP
Fjord artisan
OP
pball
Fjord artisan
P
Joined:
Nov 2009
Posts: 295
Thanks for that info, didn't know there was a way to change that via script.
Now I just need to add that to my script
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage