Is there a way to eliminate the identifier in $msg($1, <-- that Alias Message)

So that alias msg changes "msg $1 /me || $2" the $1 out to $chan depending on where it's being used? if it's used in on *:TEXT: it needs to be $chan, in alias $1.

Code:
alias msg {
  msg $1 /me || $2
}

alias aliasName {
 $msg($1,Alias Message)
}

on *:TEXT:!command*:#: {
 $msg($chan,Command Message)
}


Appreciated,
lindenkron

Last edited by lindenkron; 24/11/13 05:05 AM.