Changes highlighted:
Quote:
alias prefix return -,!,.

alias transmit {
if ($left($1,1) == !) { msg $chan $2- }
elseif ($left($1,1) == -) { msg $nick $2- }
elseif ($left($1,1) == -) { notice $nick $2- }
}

on *:TEXT:$($+($prefix,test)):#my-chan:{
transmit $1 Test was a success!
}


Note that you have to pass the trigger to the transmit alias in order for it to check its value.

Edit: Didn't read the post correctly. Ignore the above and read qwerty's reply.

Last edited by starbucks_mafia; 24/07/07 08:18 PM.