Sephiroth
http://sephiroth.scifi-action.de/board/

/getmyip
http://sephiroth.scifi-action.de/board/viewtopic.php?f=4&t=37
Seite 1 von 1

Autor:  Sephiroth [ 18. März 2008 00:24 ]
Betreff des Beitrags:  /getmyip

;; With this snippet mIRC will save your right IP informations...
on 1:sockopen:getmyip:{ sockwrite -n $sockname GET http://www.edpsciences.com/htbin/ipaddress }
on 1:sockread:getmyip:{ sockread %getmyip.data | if ($left(%getmyip.data,18) == Your IP address is) { set -u5 %getmyip 1 | .dns $gettok(%getmyip.data,6,32) | sockclose $sockname } }
on 1:dns: { $iif(%getmyip,localinfo $naddress $iaddress) | $iif(%getmyip,unset %getmyip*) }
alias getmyip { sockopen getmyip www.edpsciences.com 80 }
on 1:connect:{ getmyip }

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/