alias -l copymsg_set {
%network = EpicNet.Ru
%triggers = saner,Hello,How are you,Bye,some words
}
on *:TEXT:*:#test:{
copymsg_set | if ($network == %network) {
if ($wfind($strip($1-))) { .scid -at1 copymsg $unsafe($nick $1-) }
}
}
alias -l wfind { var %i 1 | while (%i <= $numtok(%triggers,44)) { if ($gettok(%triggers,%i,44) isin $1-) return 1 | inc %i } }
alias -l copymsg { msg #test2 $1 $2- }