variables: {msg::%player%} = true command /msg [] []: aliases: /m, /tell, /w, /wiadomosc, /pm, /mail, /pw trigger: if arg 1 is set: if arg 2 is set: if {msg::%player-arg%} is true: send "&8[&3Ja &8--> &3%player-arg%&8]: &b%arg 2%" to player send "&8[&3%player-arg% &8--> &3Ja&8]: &b%arg 2%" to arg 1 set {R.%name of player%} to arg 1 else: send "&3%player-arg% &cma wylaczone msg" else: send "&7Poprawne uzycie: &3/msg " else: send "&7Poprawne uzycie: &3/msg " command /msgr: trigger: if {msg::%player%} is true: set {msg::%player%} to false send "&7Msg zostalo &cwylaczone&7!" else: set {msg::%player%} to true send "&7Msg zostalo &awlaczone&7!" command /r []: trigger: if {R.%name of player%} is set: if arg 1 is set: execute player command "msg %{R.%name of player%}% %arg 1%" else: send "&7Poprawne uzycie: &3/r " else: send "&7Z nikim wczesniej nie pisales!"