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.
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.