@Reaper: You are wrong. The /quote is called several times, meaning the variable is set everytime it's executed.

And yes, the t switch is needed.

Also, there's no on KILL, but you could use on QUIT.