Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ModReq by Enter121
- #for NextCraft
- command /modconf <text>:
- trigger:
- if player has permission "modreq.mod":
- if arg 1 is "reset":
- set {req.num} to "0"
- else:
- send "&7[&aModReq&7]&c Nie masz uprawnień"
- command /modreq <text>:
- usage: &5/modreq <treść zgłoszenia>
- trigger:
- loop all players:
- if loop-player has permission "modreq.mod":
- send "&7[&aModReq&7]&6 NOWE ZGŁOSZENIE PRZEZ %player%" to loop-player
- set {req.num} to {req.num} +1
- set {req.%{req.num}%} to "&7[&aModReq&7] |&6%player%&7| %arg 1%"
- log "|%player%| %arg 1%" to "modreq.log"
- on join:
- if player has permission "modreq.mod":
- if {req.num} is "0":
- exit
- else:
- send "&7[&aModReq&7]&6 %{req.num}% NIE ODCZYTANE ZGŁOSZENIA" to player
- stop
- command /check:
- trigger:
- if player has permission "modreq.mod":
- if "%{req.num}%" is "0":
- send "&7[&aModReq&7]&6 WSZYSTKIE ZGŁOSZENIA ZOSTAŁY ODCZYTANE" to player
- exit
- send "==============================" to player
- send "%{req.%{req.num}%}%" to player
- send "==============================" to player
- delete {req.%{req.num}%}
- set {req.num} to {req.num} -1
- if "%{req.num}%" is "0":
- send "&7[&aModReq&7]&6 WSZYSTKIE ZGŁOSZENIA ZOSTAŁY ODCZYTANE" to player
- exit
- send "&7[&aModReq&7]&6 ZOSTAŁO %{req.num}% NIE ODCZYTANYCH ZGŁOSZEŃ" to player
- stop
- else:
- send "&7[&aModReq&7]&c Nie masz uprawnień"
- command /mods:
- trigger:
- send "&a ADMINISTRACJA ONLINE"
- loop all players:
- if loop-player has permission "modreq.mod" or "*":
- send "&a%loop-player%" to player
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement