hyhyiojiohnj Posted July 25, 2021 Share Posted July 25, 2021 options: scprefix: &bStaffchat &0-> scuseprefix: * permission: staffchat on chat: if first character of message is "{@scuseprefix}": if player has permission "{@permission}": set {_scmessage} to message replace all "{@scuseprefix}" with "" in {_scmessage} cancel event loop all players: if loop-player has permission "{@permission}": send "{@scprefix} &a%player% &0- &e%{_scmessage}%" to loop-player simple staff chat, currently set up using "*". ex. "*hello staff", customizable Link to comment Share on other sites More sharing options...
NotKaizo Posted July 26, 2021 Share Posted July 26, 2021 51 minutes ago, hyhyiojiohnj said: options: scprefix: &bStaffchat &0-> scuseprefix: * permission: staffchat on chat: if first character of message is "{@scuseprefix}": if player has permission "{@permission}": set {_scmessage} to message replace all "{@scuseprefix}" with "" in {_scmessage} cancel event loop all players: if loop-player has permission "{@permission}": send "{@scprefix} &a%player% &0- &e%{_scmessage}%" to loop-player simple staff chat, currently set up using "*". ex. "*hello staff", customizable You should also add the /staffchat toggle option to toggle it on and off so they don't have to use the prefix * 1 Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now