Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {bigwarns::%uuid of player%} = 0
- command /warn <offline player> <text>:
- permission: skript.warn
- permission message: &cYou may not use this command
- trigger:
- add 1 to {warns::%uuid of arg 1%}
- send "&c&l[Warning] &7You have been warned due to &e%arg-2% (%{warns::%uuid of arg 1%}%/3) &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)" to argument 1
- send "&c&l[Warning] &7You have warned the player &e%arg-1% &7for &e%arg-2%&7 (%{warns::%uuid of arg 1%}%/3)! &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)"
- broadcast "&c&l[Warning] &e%arg-1% &7has been warned by &e%player% &7due to &e%arg-2% (%{warns::%uuid of arg 1%}%/3) &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)"
- if {bigwarns::%uuid of arg 1%} = 0:
- if {warns::%uuid of arg 1%} >= 3:
- execute console command "/mute %arg 1% 10m"
- message "&4&lYou have been automaticly muted for &810 minutes &4for having too many warns" to arg 1
- broadcast "&e%arg 1% &chave been automaticly muted for &810 minutes &4for having too many warns"
- set {warns::%uuid of arg 1%} to 0
- add 1 to {bigwarns::%uuid of arg 1%}
- if {bigwarns::%uuid of arg 1%} = 1:
- if {warns::%uuid of arg 1%} >= 3:
- execute console command "/mute %arg 1% 30m"
- message "&4&lYou have been automaticly muted for &830 minutes &4for having too many warns" to arg 1
- broadcast "&e%arg 1% &chave been automaticly muted for &830 minutes &4for having too many warns"
- set {warns::%uuid of arg 1%} to 0
- add 1 to {bigwarns::%uuid of arg 1%}
- if {bigwarns::%uuid of arg 1%} = 2:
- if {warns::%uuid of arg 1%} >= 3:
- execute console command "/mute %arg 1% 1h"
- message "&4&lYou have been automaticly muted for &81 hour &4for having too many warns" to arg 1
- broadcast "&e%arg 1% &chave been automaticly muted for &81 hour &4for having too many warns"
- set {warns::%uuid of arg 1%} to 0
- add 1 to {bigwarns::%uuid of arg 1%}
- if {bigwarns::%uuid of arg 1%} = 3:
- if {warns::%uuid of arg 1%} >= 3:
- execute console command "/mute %arg 1% 1d"
- message "&4&lYou have been automaticly muted for &81 day &4for having too many warns" to arg 1
- broadcast "&e%arg 1% &chave been automaticly muted for &81 day &4for having too many warns"
- set {warns::%uuid of arg 1%} to 0
- add 1 to {bigwarns::%uuid of arg 1%}
- if {bigwarns::%uuid of arg 1%} = 4:
- if {warns::%uuid of arg 1%} >= 3:
- execute console command "/mute %arg 1% 7d"
- message "&4&lYou have been automaticly muted for &87 days &4for having too many warns" to arg 1
- broadcast "&e%arg 1% &chave been automaticly muted for &87 days &4for having too many warns"
- set {warns::%uuid of arg 1%} to 0
- add 1 to {bigwarns::%uuid of arg 1%}
- if {bigwarns::%uuid of arg 1%} = 5:
- if {warns::%uuid of arg 1%} >= 3:
- execute console command "/mute %arg 1%"
- message "&4&lYou have been automaticly &lPERM muted &4for having too many warns" to arg 1
- broadcast "&e%arg 1% &chave been automaticly &lPERM muted &4for having too many warns"
- set {warns::%uuid of arg 1%} to 0
- add 1 to {bigwarns::%uuid of arg 1%}
- command /warns <offline player>:
- permission: skript.warns
- permission message: &7You may not use this command
- trigger:
- message "&e%argument 1% &7has &e%{warns::%uuid of arg 1%}% &7warns"
- command /warnset <offline player> <number>:
- executable by: players and console
- permission: skript.warnset
- permission message: &7You may not use this command
- trigger:
- set {warns::%uuid of arg 1%} to arg 2
- message "&7You have set &e%arg-1% &7warns to &e%arg-2%"
- command /bigwarnset <offline player> <number>:
- executable by: players and console
- permission: skript.bigwarnset
- permission message: &7You may not use this command
- trigger:
- set {bigwarns::%uuid of arg 1%} to arg 2
- message "&7You have set &e%arg-1% &7big warns to &e%arg-2%"
- command /mywarns:
- executable by: players
- trigger:
- message "&7You have &e%{warns::%uuid of player%}%"
- command /bigwarns <offline player>:
- permission: skript.warns
- permission message: &7You may not use this command
- trigger:
- message "&e%argument 1% &7has &e%{bigwarns::%uuid of arg 1%}% &4big warns"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement