As we know, in mirc, there is a function called $sock or /sockwrite. So, below is the simple example for the chatter to know the current using ip.
You may change the echo -a command to msg it to channel.
echo -a => Will return the IP result into your active window.
msg #mircop => Will return the IP result into channel #mircop.
Below is the script.
You may change the echo -a command to msg it to channel.
echo -a => Will return the IP result into your active window.
msg #mircop => Will return the IP result into channel #mircop.
Below is the script.
alias whatismyip {
var %web whatismyipaddress.com
var %port 443
if ($sock(whatismyip)) sockclose whatismyip
sockopen -e whatismyip %web %port
}
on *:sockopen:whatismyip: {
if ($sockerr > 0) { echo -a Sock Error! }
Sockwrite -n $sockname GET / HTTP/1.0
sockwrite -n $sockname User-Agent: Mozilla
Sockwrite -n $sockname Host: whatismyipaddress.com
Sockwrite -n $sockname $crlf
Sockwrite -n $sockname $crlf
}
on *:sockread:whatismyip: {
var %tmp
sockread %tmp
if (<strong>IPv4:</strong> isin %tmp) { echo -a $nohtml(%tmp) }
if (<strong>IPv6:</strong> isin %tmp) { echo -a $nohtml(%tmp) }
}
To run the script, open mirc client and then do command /whatismyip
That's All Folks!!
That's All Folks!!
If you like this post, kindly linkback to this post entry by copying one of the codes below..
URL Of Post:
Paste This HTML Code On Your Page:
DEPOSIT PULSA TANPA POTONGAN
ReplyDeleteThis iss great
ReplyDeleteSlotxoauto สมัครเล่น เกมสล็อต จากค่ายที่กำลังเดินทางมาเเรงมาก ที่สุดในขณะนี้ ขอนำเสนอ เกมสล็อต นำเข้าจากต่างแดน เล่นง่าย ได้เงินเร็ว pgslot มั่นคง ปลอดภัย 100 %
ReplyDeleteThe dealer would stand on 17 to beat your 16; therefore, you should hit the 16 to have the most effective probability to win. 1xbet Do not leave currency in the betting box on the table. In most newer gaming jurisdictions, casinos are not allowed to accept accept|to simply accept} money bets.
ReplyDeletecan get socket for relay network thanks in advance
ReplyDeletehttps://saglamproxy.com
ReplyDeletemetin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
KDEK4