mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-23 07:55:55 +02:00
Updated to OTCv8 3.0 rev 19
This commit is contained in:
7
modules/game_bot/default_configs/vBot/antikick.lua
Normal file
7
modules/game_bot/default_configs/vBot/antikick.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local lastMove = now
|
||||
onPlayerPositionChange(function(newPos, oldPos)
|
||||
if now - lastMove > 13*60*1000 then
|
||||
turn(math.random(0,3))
|
||||
lastMove = now
|
||||
end
|
||||
end)
|
Reference in New Issue
Block a user