You didn't set a value for %chan or %a such as... var %a = $nick(%chan,0)


Those who live by the sword get shot by those who don't.