BotServer send position
#38
This uses OTClient bot server, setup with Vitrax config.vBot
on pagedown press it'll send the position of current player to bot server and all chars will try to run to that pos.
on pagedown press it'll send the position of current player to bot server and all chars will try to run to that pos.
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
singlehotkey("PageDown", "Run to pos", function()
BotServer.send("pos", { pos = { x = posx(), y = posy(), z= posz()} })
end)
BotServer.listen("pos", function(name, message)
if name ~= player:getName() then
local pos = message["pos"]
if autoWalk(pos, 4000, { ignoreNonPathable = true}) then
else
BotServer.send("broadcast", "Not possible to walk.")
end
end
end)
10 Jun 2021