All pastes #738761 Raw Edit

Someone

public text v1 · immutable
·published 2007-10-16 16:34 UTC
rendered paste body
on *:TEXT:!addip *:#:{ 
  if ($address($nick,2)) == (your address here) { 
    writeini ips.ini $2 IP $3-
    notice $nick IP for $2 added.
  }
}

on *:TEXT:!delip *:#:{ 
  if ($address($nick,2)) == (your address here) { 
    remini ips.ini $2
    notice $nick IP for $2 deleted.
  }
}

on *:TEXT:!getip *:#:{
  if ($address($nick,2)) == (your address here) {
    notice $nick $2- $+ 's IP is: $readini(ips.ini,$2,IP)
  }
}

on *:TEXT:@getip *:#:{
  if ($address($nick,2)) == (your address here) {
    msg $chan $2- $+ 's IP is: $readini(ips.ini,$2,IP)
  }
}

on *:TEXT:!findip *:#:{ 
  if ($address($nick,2)) == (your address here) {
    notice $nick $2- $+ 's IP is: $ial($2).host
  }
}

on *:TEXT:@findip *:#:{ 
  if ($address($nick,2)) == (your address here) {
    msg $chan $2- $+ 's IP is: $ial($2).host
  }
}

on *:TEXT:!getnick *:#:{
  if ($address($nick,2)) == (your address here) {
    notice $nick Nick associated with $2 is: $ial($2).nick
  }
}

on *:TEXT:@getnick *:#:{
  if ($address($nick,2)) == (your address here) {
    msg $chan Nick associated with $2 is: $ial($2).nick
  }
}

on *:TEXT:!getnickip*:#:{
  if ($address($nick,2)) == (your address here) {
    notice $nick Nick being used by $readini(ips.ini,$2,IP) $+ : $ial(*!*@ $+ $readini(ips.ini,$2,IP)).nick
  }
}

on *:TEXT:@getnickip*:#:{
  if ($address($nick,2)) == (your address here) {
    msg $chan Nick being used by $readini(ips.ini,$2,IP) $+ : $ial(*!*@ $+ $readini(ips.ini,$2,IP)).nick
  }
}