How can I have commands work with this? - 22/02/07 11:51 AM
Is there a way I can get mIRC's commands and the server's commands to work without losing the functionality of the other? Is there also a way I can reduce all the on text and on action's? Seems redundent to use so many.
Code:
on *:INPUT:*:{ if / isin $1- { if $1 == /me { .describe $active $2- | echo -tc $active 12* $me $2- | halt } if : isin $1 { goto p1 | halt } else { .quote $remove($1-,/) | halt } haltdef } :p1 echo -tmc $nick 4[ $+ $me $+ 4] $1- .msg $active $1- haltdef } on ^*:TEXT:*:#:{ var %channel = # echo -tlbf %channel 7[ $+ $nick $+ 7] $1- haltdef } on ^*:ACTION:*:#:{ var %channel = # echo -tlbf %channel 12* $nick $1- haltdef } on ^*:TEXT:*:?:{ var %nickname = $nick echo -tlbf %nickname 7[ $+ $nick $+ 7] $1- haltdef } on ^*:ACTION:*:?:{ var %nickname = $nick echo -tlbf %nickname 12* $nick $1- haltdef } on ^*:CHAT:*:{ var %chatin = $nick echo -tlbf = $+ %chatin 7[ $+ $nick $+ 7] $1- haltdef } on ^*:ACTION:*:=:{ var %chatin = $nick echo -tlbf = $+ %chatin 12* $nick $1- haltdef }