Fixed %vars% not handled in chatbotlogfile

Bug report by TorchRJ_