Olá, Boa noite.
Estou com dificuldades no meu script do xenobot.
local MainBP = "backpack"
registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
if (labelname == "secomunicar") then
walker.stop()
Self.SayToNpc({"hi", "deposit"})
wait(2000)
walker.start()
end
O que a de errado?
aparece o seguinte erro:
XenoScript Error:
Script: Teste.lua
Error: attempted to call non-existant event listener
This is an error with user-input and should not be reported as a bug with XenoBot.