Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Skrypt wykonany na potrzeby użytkowników MPCForum ,przez master_girl!
- on quit:
- {in.combat.%player%} is true
- kill player
- broadcast "<grey>[AntyRelog] <light red>%player% zostal zabity za probe ucieczki z walki!"
- delete {in.combat.%player%}
- delete {seconds.until.out.%player%}
- command /relogautor:
- trigger:
- send "&8<&c-&8>-------&9ANTYRELOG &6&lv1.0&f----------&8<&c-&8>"
- send " &6Skrypt napisany przez Master_Girl"
- send " &cNie wolno ci podszywac sie pod Autorke Skryptu&4&l!!"
- send "&8<&c-&8>-------&9ANTYRELOG &6&lv1.0&f----------&8<&c-&8>"
- command /reloghelp:
- trigger:
- send "&8<&c-&8> &6Komenda /skript reload antirelog - Restartuje skrypt"
- send "&8<&c-&8> &6Skrypt wlacza sie sam!"
- on damage:
- victim is player
- attacker is player
- if {ochrona.%victim%} is true:
- cancel event
- if {ochrona.%attacker%} is true:
- cancel event
- else:
- if {in.combat.%victim%} is true:
- set {seconds.until.out.%victim%} to 10
- stop
- send "<grey>[AntyRelog] <light red>Jestes w walce. Nie wychodz z gry!" to victim
- set {in.combat.%victim%} to true
- set {seconds.until.out.%victim%} to 10
- while {seconds.until.out.%victim%} is more than 1:
- {seconds.until.out.%victim%} is not set:
- stop
- subtract 1 from {seconds.until.out.%victim%}
- wait 1 second
- delete {in.combat.%victim%}
- delete {seconds.until.out.%victim%}
- send "<grey>[AntyRelog] <light green>Mozesz sie bezpiecznie wylogowac" to victim
- on damage:
- victim is player
- attacker is player
- if {ochrona.%victim%} is true:
- cancel event
- if {ochrona.%attacker%} is true:
- cancel event
- else:
- if {in.combat.%attacker%} is true:
- set {seconds.until.out.%attacker%} to 10
- stop
- send "<grey>[PanRelog] <light red>Jestes w walce. Nie wychodz z gry!" to attacker
- set {in.combat.%attacker%} to true
- set {seconds.until.out.%attacker%} to 10
- while {seconds.until.out.%attacker%} is more than 1:
- {seconds.until.out.%attacker%} is not set:
- stop
- subtract 1 from {seconds.until.out.%attacker%}
- wait 1 second
- delete {in.combat.%attacker%}
- delete {seconds.until.out.%attacker%}
- send "<grey>[AntyRelog] <light green>Mozesz sie bezpiecznie wylogowac" to attacker
- on join:
- {in.combat.%player%} is set:
- delete {in.combat.%player%}
- {seconds.until.out.%player%} is set:
- delete {seconds.until.out.%player%}
Advertisement
Add Comment
Please, Sign In to add comment