mIRC Home    About    Download    Register    News    Help

Topic Options
#103311 - 18/11/04 09:24 PM need help with /dns command
LethPhaos Offline
Fjord artisan

Registered: 27/08/04
Posts: 237
Loc: Belgium
When I /dns someone the result is shown in the status window. How could I:
1. Prevent it from being shown in the status window
2. Show it in the active server window (/echo)
?

This all should be hidden in status window:

[2004 Thu Nov 18 22:18:19] * Dns resolving xxxxxxxxxxxxxxxxxx
-
[2004 Thu Nov 18 22:18:19] * Dns resolved xxxxxxxxxxxxxxxxx to xxx.xxx.xxx.xxx


And something like this should be shown in active channel window:

* DNS Result of <nick here> (<adress here>): xxx.xxx.xxx.xxx

Top
#103312 - 18/11/04 09:40 PM Re: need help with /dns command
tidy_trax Offline
Hoopy frood

Registered: 02/11/03
Posts: 2327
Code:
on *:dns:{  
  var %i = 1
  while ($dns(%i)) { 
    echo -abcflirt info * DNS Result of $dns(%i).nick ( $+ $dns(%i).addr $+ ): $dns(%i).ip 
    inc %i
  }
  haltdef
}


You can silence the "* Dns resolving xxxxxxxxxxxxxxxxxx" echo by using /[b].dns[/b].
_________________________
New username: hixxy

Top
#103313 - 19/11/04 11:20 PM Re: need help with /dns command
LethPhaos Offline
Fjord artisan

Registered: 27/08/04
Posts: 237
Loc: Belgium
Thanx

Top