Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {pm.kapat.%player%} to false
- command /pmtoggle:
- trigger:
- if {pm.kapat.%player%} is false:
- set {pm.kapat.%player%} to true
- send "&aArtık Özel Mesaj Almayacaksın"
- else:
- send "&aArtık Mesaj Atabilirler"
- set {pm.kapat.%player%} to false
- command /msg [<player>] [<text>]:
- trigger:
- arg 1 is set:
- if {pm.kapat.%arg 1%} is true:
- execute console command "manudelp %player% essentials.msg"
- send "&e%arg 1% &4Özel Mesaj Almak İstemiyor."
- wait 5 second
- execute console command "manuaddp %player% essentials.msg"
- else:
- send "&3Gönderen ->&6%player% Mesajı:%arg 2%" to arg 1
- else:
- send "&4Doğru Kullanım: &6/msg <player> <mesaj>"
- command /tell [<player>] [<text>]:
- trigger:
- arg 1 is set:
- if {pm.kapat.%arg 1%} is true:
- execute console command "manudelp %player% essentials.tell"
- send "&e%arg 1% &4Özel Mesaj Almak İstemiyor."
- wait 5 second
- execute console command "manuaddp %player% essentials.tell"
- else:
- send "&3Gönderen ->&6%player% Mesajı:%arg 2%" to arg 1
- else:
- send "&4Doğru Kullanım: &6/msg <player> <mesaj>"
- command /w [<player>] [<text>]:
- trigger:
- arg 1 is set:
- if {pm.kapat.%arg 1%} is true:
- execute console command "manudelp %player% essentials.w"
- send "&e%arg 1% &4Özel Mesaj Almak İstemiyor."
- wait 5 second
- execute console command "manuaddp %player% essentials.w"
- else:
- send "&3Gönderen ->&6%player% Mesajı:%arg 2%" to arg 1
- else:
- send "&4Doğru Kullanım: &6/msg <player> <mesaj>"
- command /m [<player>] [<text>]:
- trigger:
- arg 1 is set:
- if {pm.kapat.%arg 1%} is true:
- execute console command "manudelp %player% essentials.m"
- send "&e%arg 1% &4Özel Mesaj Almak İstemiyor."
- wait 5 second
- execute console command "manuaddp %player% essentials.m"
- else:
- send "&3Gönderen ->&6%player% Mesajı:%arg 2%" to arg 1
- else:
- send "&4Doğru Kullanım: &6/msg <player> <mesaj>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement