Nobody's gonna reload the script 5151306503 times bro
But just to make you happy:
on *:unload:write -c kb.txt | unset %botowner