mIRC Home    About    Download    Register    News    Help

Print Thread
#103311 18/11/04 09:24 PM
Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
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

Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
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
Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
Thanx


Link Copied to Clipboard