#Skrypt by ChlebekPlayer options: TAG: &9&lCPAntyLogout czas: 30 on quit: if {al::%player%} is set: kill player broadcast "{@TAG}: &cGracz %player% wyszedl z serwera podczas walki!" on damage: if victim is player: if attacker is player: if {al::%victim%} is not set: send "{@TAG}: &cJestes podczas walki! Nie wychodz z serwera!" to victim if {al::%attacker%} is not set: send "{@TAG}: &cJestes podczas walki! Nie wychodz z serwera!" to attacker set {al::%victim%} to {@czas} set {al::%attacker%} to {@czas} every 1 second: loop all players: if {al::%loop-player%} is set: if {al::%loop-player%} is more than 0: remove 1 from {al::%loop-player%} set action bar of loop-player to "{@TAG}: &cNie mozesz wylogowac sie jeszcze przez: %{al::%loop-player%}%sek" else: clear {al::%loop-player%} send "{@TAG}: &aSkonczyles walke, mozesz sie wylogowac" to loop-player on death: clear {al::%victim%} on command: if {antylogout::%player%} is set: if command is not "helpop" or "gm" or "msg" or "r": cancel event send "{@TAG}: &cNie mozesz uzyc tej komendy podczas walki!" on rightclick on ender chest: if {al::%player%} is set: cancel event send "{@TAG}: &cNie mozesz otworzyc enderchesta w trakcie walki"