Log in

View Full Version : close client if self skulled



jollebollen
12-09-2015, 07:35 AM
is it possible to have this script? if your own character gets skulled he force close the client =)

jollebollen
12-10-2015, 10:41 PM
anyone? XD

Joshwa534
12-11-2015, 07:38 PM
anyone? XD


local alarm = true
local exit = true
Module.New("skull", function(module)
if Self.Skull() > 0 then
if alarm then
alert()
module:Delay(1400)
end
if exit then
os.exit()
end
end
end)

jollebollen
12-12-2015, 03:09 AM
local alarm = true
local exit = true
Module.New("skull", function(module)
if Self.Skull() > 0 then
if alarm then
alert()
module:Delay(1400)
end
if exit then
os.exit()
end
end
end)


Thank you very much I really appreciate it :) <3

jollebollen
12-12-2015, 05:15 AM
local alarm = true
local exit = true
Module.New("skull", function(module)
if Self.Skull() > 0 then
if alarm then
alert()
module:Delay(1400)
end
if exit then
os.exit()
end
end
end)



not trying to be the biggest pain in the ass ever but is it possible to change skull for if unjustified frag = close client?

Thanks I really aprpeciate your help to optimaze my bot :)

jollebollen
12-13-2015, 09:54 AM
local alarm = true
local exit = true
Module.New("skull", function(module)
if Self.Skull() > 0 then
if alarm then
alert()
module:Delay(1400)
end
if exit then
os.exit()
end
end
end)


is it possible to change this to if unjustified frag close client? thanks in advance :p also do you know what happened to all the old lua scripts on the forum?

jollebollen
12-14-2015, 11:35 AM
if anybody knows how to change this for "if unjustified kill close client" :P?

jollebollen
12-18-2015, 06:31 AM
if anybody knows how to change this for "if unjustified kill close client" :P?

jollebollen
12-22-2015, 01:41 AM
bumping this ;) very useful and everyone should use it on retro pvp servers!