I need to know how to get this bit of coding not to bug out

Code:
on *:text:!skingiveaway *:#: {
  ;$2 is the name of the donor
  ;$3- is the name of the skin
  msg # $2-
}


It would work normally but it doesnt work when | is used, and | is needed to be used in this case, for example someone might say

Quote:
!skingiveaway alphakennyhuan CZ-75 | Twist



Last edited by AlphaKennyHuan; 03/09/14 04:01 PM.