command /d <text>:
trigger:
set {_msg} to arg 1
if {_msg} is "help" or "yardim":
send " " to player
send "&8==========&7[&6Duyuru Bölgesi&7]&8==========" to player
send "&6/d <mesaj>&8 ile duyuru yapabilirsiniz!" to player
send "&6/d help&8 ile yardim alabilirsiniz!" to player
send "&6/d yardim&8 ile yardim alabilirsiniz!"
send "&8=================================="
send " " to player
else if {_msg} is not "help" or "yardim":
loop players:
set action bar of loop-player to "&4 %arg 1%"
command /duyuru [<text>] [<text>]:
permission: duyuru.yap
permission message: &c&lHATA &8► &7Bunu yapmak için yetkiniz Bulunmuyor.
trigger:
if arg 1 is set:
if arg 2 is set:
if arg 1 is "normal" or "n":
send "&7%colored arg 2%" to players
if arg 1 is "action" or "a":
loop players:
set action bar of loop-player to "&7%colored arg 2%"
if arg 1 is "title" or "t":
send players title "&7%colored arg 2%" for 3 seconds
else:
send " &6&lKULLANIM &8► &7Duyuru yapmak için &c/duyuru <normal/action/title> <mesaj>" to player
else:
send " &6&lKULLANIM &8► &7Duyuru yapmak için &c/duyuru <normal/action/title> <mesaj>" to player
teşekkürler :) sorun çözüldüKod:command /duyuru [<text>]: trigger: if player is op: execute console command "tm abc %arg 1%"