Shoutbox

externalIP 1.01 - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: externalIP 1.01 (/showthread.php?tid=17521)

externalIP 1.01 by mikezs on 11-02-2003 at 04:06 PM

erm, another plugin!

This gets your external IP address (because some of my friends are stupid and couldnt get it themselfs)

Usage:

(!XIP) - will replace with your external IP address

Version 1.01:
- (Really) Removed line break after IP (thanx Choli)


RE: externalIP 1.0 by Choli on 11-02-2003 at 04:17 PM

very nice...
how do you get the external ip? you connect to a server, don't you?

Edit: Do not put a new line at the end of the IP ;)


RE: externalIP 1.0 by mikezs on 11-02-2003 at 05:05 PM

im working on the new line!

ive lost the MSDN cd of visual studio, so i cant get help :(


RE: externalIP 1.01 by Choli on 11-02-2003 at 05:24 PM

It's very easy do that. You've develop it under VB 6, haven't you? Then you have to use the Replace() function and change vbnewline by ""

code:
variable_string_with_the_ip = Replace(variable_string_with_the_ip, vbNewLine, "")


RE: externalIP 1.01 by Mippo on 11-02-2003 at 05:35 PM

Yay! I guess this can come out really handy, because more ppl have such friends, like me... :dodgy:

And there isn't any other way to let it check it instead of letting it connect to a server (if that is how it checks it)? It seems a bit of a workaround, but if you can't do it a different way... :-/


RE: externalIP 1.01 by mikezs on 11-02-2003 at 06:19 PM

it goes to a webpage that only displays your IP adress,

so it uses about 15 bytes of bandwidth and loads in about 50ms


RE: externalIP 1.01 by Jester on 12-29-2003 at 11:11 PM

I can't get your plug-in to work for me. It puts the (!XIP) command in the chat window but when I send it no IP shows up.