on *:TEXT:!test*:*:{ set -u300 %!test $nick DCC Chat $nick } on *:OPEN:=:{ if ($nick == %!test) { unset %!test msg =$nick This is a test. } } on *:OPEN:=:{ if ($nick == %!test) { if ( $1- == hello ) { msg =$nick Hi } } }
i want it so fi somebody say hello in the dcc window, i will reply with "hi"
;Check for Life if (%life == $null) { goto getlife }
on *:TEXT:!test*:*:{ set -u300 %!test $nick DCC Chat $nick } on *:OPEN:=:{ if ($nick == %!test) { .msg $nick This is a test. } } on *:CHAT:hello:{ if ($nick == %!test) { .msg $nick Hi } }
just an idea, you have the variable set %!test, try just %test, the negate feature "!" usually has another reasoning, in mirc script, so try removing the ! and good luck