Ezekia Posted January 12, 2020 Share Posted January 12, 2020 Enjoy! command /alert [<text>]: trigger: if player is op: if arg-1 is not set: send "&4[ALERT]&c Arg-1 is not set!" to player if arg-1 is set: broadcast "&4[ALERT]&c %arg-1%" By reading this you are a confirmed nerd Link to comment Share on other sites More sharing options...
zKoro Posted January 12, 2020 Share Posted January 12, 2020 Instead of writing "if arg-1 is set", I would have wrote "else:" just to make things a bit easier. But apart from that, nice work! ⮞ Junior Mod (01/04/2020) - Resigned ⮜ ⮞ Discord » Koronotchi#0001 ⮜⮞ Minecraft Username » Koronotchi ⮜ Link to comment Share on other sites More sharing options...
Ezekia Posted January 12, 2020 Author Share Posted January 12, 2020 1 minute ago, Koroonotchii said: Instead of writing "if arg-1 is set", I would have wrote "else:" just to make things a bit easier. But apart from that, nice work! i wrote else for if player is not op and came with 2 messages up (ur not mod and that) i got confused lol By reading this you are a confirmed nerd 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