I just need a simple script whereby someone type !ip or something and I'm able auto /dns that person nick and provide him his ip. smile

This is what i was told to do by someone..but it dont seems to work..hope someone could correct me

Code:
on 1:text:!ip:*:{
  if (%*.IPOnOff) {
    set set %*.Chan $chan
    dns $nick
  }
}
on 1:DNS:{
  if (%*.IPOnOff) {
    if ($me != $nick) && (!%*.Nick. [ $+ [ $nick ] ]) && (%strChan) {
      msg %*.Chan  $+ $nick $+ , your IP Address is $dns(0).ip
    }
  }
} 

Last edited by xkyox; 15/07/06 03:45 AM.