mIRC Home    About    Download    Register    News    Help

Print Thread
#110194 05/02/05 09:37 AM
Joined: Feb 2005
Posts: 74
S
SkyD Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Feb 2005
Posts: 74
on 1:text:!ip:*:{
msg $chan your ip is $ip
}

$ip - say my ip not other who write !ip ...
Please help..


[color:red]m[color:blue]IRC[color:green] for EvEr

#110195 05/02/05 10:34 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
on 1:text:!ip:*:{
msg $chan your ip is $ip
}

$ip - say my ip not other who write !ip ...
Please help..


Its ment to say your IP

on 1:text:!ip:*:{ msg $chan $nick please type in the following keys $ I P TAB ENTER }
or
on 1:text:!ip:*:{ notice $nick to show your IP type in //say $ip }

unless your a ircop (i beleieve) you cant get someones IP

#110196 05/02/05 12:01 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
You might want to add a ! to that laugh
on 1:text:!ip:*:{ notice $nick to show your IP type in //say $!ip }

#110197 05/02/05 12:13 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Code:
on *:text:!ip:*:{
  if %ip.limit { return }
  if $longip($site) { msg $iif(#,#,$nick) $nick your IP is $site }
  else { set -u300 %dns. $+ $nick $cid $iif(#,#,$nick) | .dns $nick }
  inc -u5 %ip.limit
}
on *:dns:{
  if $dns(1).nick && $($+(%,dns.,$v1),2) {
    tokenize 32 $v1
    scid $1 | msg $2 $dns(1).nick your IP is $$dns(1).ip
    unset %dns. $+ $dns(1).nick
    halt
  }
}

#110198 05/02/05 12:23 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
You might want to add a ! to that laugh
on 1:text:!ip:*:{ notice $nick to show your IP type in //say $!ip }


l0l I wrote a reply then relaised you were completely correct, I was like 'why would ya want to tell anyone type //say $!ip, thats just going to make them say $ip' then it hit me what you ment. My treplies werent overly seriouse anyway smile


Link Copied to Clipboard