How can I remove %player% at %loop-player%.
When i write my own name at minecraft. The skript is working for me.
I tried to fix this problem with {message} true or false but it isnt working.
When i write my own name at minecraft. The skript is working for me.
I tried to fix this problem with {message} true or false but it isnt working.
Code:
on chat:
set {message} to true
if {message} is true:
loop all players:
if message contains "%loop-player%":
replace all "%loop-player%" with "&e@&f%loop-player%" in the message
play "block_note_block_banjo" to loop-player
send loop-player title "&8%player%" with subtitle "&7Senden Bahsetti" for 1 seconds
else if {message} is false:
if message contains "%player%":
replace all "%player%" with "%player%" in the message