Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OLD ONE
- if message contains {@MessagesToTestFor}:
- if {@WarnThePlayer} is true:
- send "{@Prefix} {@PlayerWarnMessage}"
- if player has permission "{@BypassPermission}":
- stop
- else:
- add 1 to {antiask.warns.%player%}
- loop all players:
- if loop-player has permission "{@AdminNotifyPermission}":
- if {@NotifyStaff} is true:
- send "{@Prefix} {@AdminNotify}" to loop-player
- NEW ONE
- on chat:
- if message contains {@MessagesToTestFor}:
- if player doesn't have permission "{@BypassPermission}":
- if {@WarnThePlayer} is true:
- send "{@Prefix} {@PlayerWarnMessage}"
- else:
- add 1 to {antiask.warns.%player%}
- loop all players:
- if loop-player has permission "{@AdminNotifyPermission}":
- if {@NotifyStaff} is true:
- send "{@Prefix} {@AdminNotify}" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement