Jump to content

Need some skript commands.


Beast2247

Recommended Posts

on chat:
    if message starts with "&":
        cancel event
        loop all players:
            if loop-player has permission "staff":
                replace "&" with "&r" in message
                send "&d[STAFF] &r%loop-player &8» &r%colored message%" to loop-player

Staffchat skript to use just put  a & before your message

Edited by Preinstalled

First Join: October 21st, 2017
VIPNovember 11th, 2017
PRO: August 29th, 2018
VIP Again: December 3rd, 2018
Legend: Not achieved yet.

 

Link to comment
Share on other sites

Guest DependencyJr

You could make that last line run a bit faster by doing 

send "&d[STAFF] &r%player% &8» &r%colored message%" to all players where [input has permission "staff"]

 

Link to comment
Share on other sites

8 minutes ago, Guest DependencyJr said:

You could make that last line run a bit faster by doing 


send "&d[STAFF] &r%player% &8» &r%colored message%" to all players where [input has permission "staff"]

 

Not sure, never tried

First Join: October 21st, 2017
VIPNovember 11th, 2017
PRO: August 29th, 2018
VIP Again: December 3rd, 2018
Legend: Not achieved yet.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...