mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-12-17 09:27:11 +01:00
Updated to OTCv8 3.1 rev 112
This commit is contained in:
13
modules/game_bot/default_configs/vBot_4.0/vBot/antiRs.lua
Normal file
13
modules/game_bot/default_configs/vBot_4.0/vBot/antiRs.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
setDefaultTab("Tools")
|
||||
local m = macro(1000, "AntiRS & Msg", function() end)
|
||||
|
||||
local frags = 0
|
||||
onTextMessage(function(mode, text)
|
||||
if not m.isOn() then return end
|
||||
if not text:lower():find("warning! the murder of") then return end
|
||||
say("Don't bother, I have anti-rs and shit EQ. Don't waste our time.")
|
||||
frags = frags + 1
|
||||
if killsToRs() < 6 or frags > 1 then
|
||||
modules.game_interface.forceExit()
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user