mIRC Home    About    Download    Register    News    Help

Print Thread
#240247 10/01/13 03:29 AM
Joined: Nov 2012
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Nov 2012
Posts: 19
Can someone help me with a on join ip checker?


Code:
on *:JOIN:$adress:*: {
if $adress() $read(IP.txt) {
echo Checked $adress this IP belongs to $getnick
   }
}

Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
on *:join:#:{
if ($read(ip.txt,wn,$wildsite)) {
echo # Checked $v1 this IP belongs to $nick
}
}

Joined: Nov 2012
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Nov 2012
Posts: 19
And how do i this if i dont want to use a txt. ?

Whenever 127.0.0.1 JOINS i get a echo like 127.0.0.1 is here ?

Joined: Nov 2012
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Nov 2012
Posts: 19
How do i get just the 3 rows of a IP
Example IP is 127.0.0.1 i just want it to take 127.0.0.

Cutting the last number off.


Link Copied to Clipboard