PDA

View Full Version : Question about my Lua Script



skifft92
01-19-2016, 05:58 PM
function fish()

if (0 == 0) then

Self.Say("utani hura")
wait(1200,1800)
Self.Say("utani hura")
wait(1200,1800)
Self.Say("utani hura")

wait(59000,1800)
end
end

while(true) do
fish()
end



/// how come it doesnt work , it says :

18:57 XenoScript Error:
Script: utani hura2.lua
Line #: 150
Chunk: C:\PROGRA~2\XenoBot\Versions\..?Data?XB0021?1.LUA
Error: bad argument #2 to 'random' (interval is empty)
This is an error with user-input and should not be reported as a bug with XenoBot.

anoyn
01-19-2016, 06:58 PM
Is it
wait(59000,1800)
Left should be smaller than right?