I am having problem with this nick completor, Its just a small one.. nothing fancy, so heres the problem when i type someones full nickname it returns as

(Sun 3.50p) (illusi0n) JaCkAsS
(Sun 3.50p) <illusi0n> -(JaCkAsS)


Here is the code:
Code:
  on *:input:#: {
  if (/ != $left($1,1)) &amp;&amp; ($1 ison #) { say 4-( $+ $1 $+ 4)- $2- | haltdef }
}