ON DNS - 03/05/03 02:53 PM
How do I get mIRC to set a %variable when I type /dns blah-blah
on *:DNS: { var %dnsname (what to have here ?) }
$2, $DNSIP(N) nothing seem to work
The script should look like this:
all works cept the %variable isnt set, and I ran out of ideas
on *:DNS: { var %dnsname (what to have here ?) }
$2, $DNSIP(N) nothing seem to work

The script should look like this:
Code:
on *:DNS: { set %dnsname (missing variable) if ((!$iaddress) && (!$naddress) && (!$raddress)) { echo -a cant resolve %dnsname } else { echo -a -× Displaying DNS-Info for: %dnsname if $iaddress { echo -a IP Address $iaddress if $naddress { echo -a Address $naddress } if $raddress { echo -a Address $raddress } } haltdef }
all works cept the %variable isnt set, and I ran out of ideas
