though i am not entirely sure what it is your trying to do. i'll show you an easier way to do what you showed atleast.
on *:TEXT:*:#:{
set %send.method $iif($left($1,1) == @,msg $chan,notice $nick)
%send.method whatever you want to be sent out.
}
if your trying to make it do different things. you can put if statements in to check to see if someone said one of the triggerers.
ex.
on *:TEXT:*:#:{
set %send.method $iif($left($1,1) == @,msg $chan,notice $nick)
if ($right($1,1) == links) {
if ($2 == home) { %send.method http://www.google.com | unset %send.method }
if ($2 == mirc) { %send.method http://www.mirc.com | unset %send.method }
}
}
if i completely missed what you were tryin to do im sorry im just a little tired...im just trying to be helpful.