PDA

View Full Version : IF injustified kill = CLOSE CLIENT



jollebollen
04-14-2016, 07:09 PM
I would really appreciate if someone could make or post a script that you already have that will simply close th tibia client if the character gets an unjustified kill.


Thank you in advance :)

guwno
04-15-2016, 01:58 PM
GenericTextMessageProxy.OnReceive("", function(proxy, message)
if (string.find(string.lower(message), "the murder of")) then
Walker.Stop()
Targeting.Stop()
Looter.Stop()
end
end)

turning off targeting looter and walker


GenericTextMessageProxy.OnReceive("", function(proxy, message)
if (string.find(string.lower(message), "the murder of")) then
os.exit()
end
end)

closing client

jollebollen
04-18-2016, 10:34 PM
GenericTextMessageProxy.OnReceive("", function(proxy, message)
if (string.find(string.lower(message), "the murder of")) then
Walker.Stop()
Targeting.Stop()
Looter.Stop()
end
end)

turning off targeting looter and walker


GenericTextMessageProxy.OnReceive("", function(proxy, message)
if (string.find(string.lower(message), "the murder of")) then
os.exit()
end
end)

closing client

Thank you very much, you sir deserves a medal :D :)