mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-05-05 05:19:21 +02:00
7 lines
175 B
Lua
7 lines
175 B
Lua
local lastMove = now
|
|
onPlayerPositionChange(function(newPos, oldPos)
|
|
if now - lastMove > 13*60*1000 then
|
|
turn(math.random(0,3))
|
|
lastMove = now
|
|
end
|
|
end) |