ok well im guessing my code is wrong with what i am trying to do so lemme try to explain it more:
i want it so there is 1 bulk of code in the beggining that says if they have "!" then notice the nick and if it is "@" then msg the chan, and after that jus like have it so it is set to, if the person type the symbole and a word like home, it will do the send type, but after that in the same code make it so if they type the symbole and clan it will send something else in the style types... so i wouldnt have to type something like
on *:TEXT:!clan:#:/notice $nick....
on *:TEXT:@clan:#:/msg $chan...
everytime or have to type something else each time... i want it so ther eis 1 code for multiple words.... i tried the
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 }
}
}
one but it didnt work