fork download
  1. on quit:
  2. {combatlog::players::%player%::in.combat} is true
  3. kill player
  4. broadcast "&4PvP &8» &c%player% &7Savaşırken çıktı ve geberdi."
  5. delete {combatlog::players::%player%::*}
  6.  
  7. on command:
  8. {combatlog::players::%player%::in.combat} is true
  9. message "&cPvp sırasında komut yazamazsın"
  10. cancel the event
  11.  
  12. on damage:
  13. victim is a player
  14. attacker is a player
  15. if {combatlog::players::%victim%::in.combat} is true:
  16. set attacker's flight mode to false
  17. set {combatlog::players::%victim%::in.seconds.until.out} to 10
  18. stop
  19. send "&4PvP &8» &cSavaşa başladın, sakın oyundan çıkma!" to victim
  20. set {combatlog::players::%victim%::in.combat} to true
  21. set victim's flight mode to false
  22. set {combatlog::players::%victim%::in.seconds.until.out} to 30
  23. while {combatlog::players::%victim%::in.seconds.until.out} is more than 1:
  24. {combatlog::players::%victim%::in.seconds.until.out} is not set:
  25. stop
  26. subtract 1 from {combatlog::players::%victim%::in.seconds.until.out}
  27. wait 1 second
  28. delete {combatlog::players::%victim%::in.combat}
  29. delete {combatlog::players::%victim%::in.seconds.until.out}
  30. send "&4PvP &8» &aSavaş bitti, oyundan ayrılabilirsin.." to victim
  31.  
  32. on death:
  33. delete {combatlog::players::%victim%::in.combat}
  34. delete {combatlog::players::%victim%::in.seconds.until.out}
  35.  
  36. on damage:
  37. victim is a player
  38. attacker is a player
  39. if {combatlog::players::%attacker%::in.combat} is true:
  40. set attacker's flight mode to false
  41. set {combatlog::players::%attacker%::in.seconds.until.out} to 30
  42. stop
  43. send "&4PvP &8» &cSavaşa başladın, sakın oyundan çıkma!" to attacker
  44. set {combatlog::players::%attacker%::in.combat} to true
  45. set attacker's flight mode to false
  46. set {combatlog::players::%attacker%::in.seconds.until.out} to 10
  47. while {combatlog::players::%attacker%::in.seconds.until.out} is more than 1:
  48. {combatlog::players::%attacker%::in.seconds.until.out} is not set:
  49. stop
  50. subtract 1 from {combatlog::players::%attacker%::in.seconds.until.out}
  51. wait 1 second
  52. delete {combatlog::players::%attacker%::in.combat}
  53. delete {combatlog::players::%attacker%::in.seconds.until.out}
  54. send "&4PvP &8» &aSavaş bitti, oyundan ayrılabilirsin.." to attacker
  55.  
  56. on join:
  57. delete {combatlog::players::%player%::*}
  58.  
  59. on script load:
  60. delete {combatlog::players::*}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
on quit:
^
Main.java:16: error: unclosed character literal
        set attacker's flight mode to false
                    ^
Main.java:21: error: unclosed character literal
    set victim's flight mode to false
              ^
Main.java:40: error: unclosed character literal
        set attacker's flight mode to false
                    ^
Main.java:45: error: unclosed character literal
    set attacker's flight mode to false
                ^
5 errors
stdout
Standard output is empty