Log in

View Full Version : use energy ring by pressing for example f21? help with my script



felipe93
03-23-2016, 08:45 AM
hello xenobot community

i need help here


registerHotkeyListener(F12_KEY, function()
Self.Ring(3051)
end)

i made this cheking on forums but i get this error


05:41 XenoScript Error:
Script:energy ring - .lua
Line #: 3
Chunk: C:?Users?Raquel?DOCUME?1?XenoBot?Scripts??ROTFIB?3 .LUA
Error: ')' expected (to close '(' at line 1) near '<eof>'
This is an error with user-input and should not be reported as a bug with XenoBot.