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.
This is what i was told to do by someone..but it dont seems to work..hope someone could correct me
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
}
}
}