Ramina__ Posted July 16, 2021 Share Posted July 16, 2021 command /hug [<player>]: trigger: if arg-1 is a player: broadcast "&b&l%player% &dHugged &b&l%arg-1%" else: send "&c&lSpecify a player." if %arg-1% is %user%: send "&c&lYou cannot hug yourself" Idk why this wont work please help Link to comment Share on other sites More sharing options...
Ramina__ Posted July 16, 2021 Author Share Posted July 16, 2021 Just now, nolando09 said: command /hug [<player>]: trigger: if arg-1 is a player: broadcast "&b&l%player% &dHugged &b&l%arg-1%" else: send "&c&lSpecify a player." if %arg-1% is %user%: send "&c&lYou cannot hug yourself" Idk why this wont work please help It works but i want to make it so you cant /hug yourself and it would help with lots of my other skripts Link to comment Share on other sites More sharing options...
pnguin Posted July 16, 2021 Share Posted July 16, 2021 command /hug [<player>]: trigger: if arg-1 is a player: broadcast "&6%player%&f hugged &6%arg-1%" else: send "&f%arg-1%&6 has to be a player!" if arg-1 is player: send "&cYou cannot hug yourself!" This should work I used to play Minehut I guess? Yeah, I still watch the forums for some reason. (15/5/2023) Link to comment Share on other sites More sharing options...
D4isDAVID Posted July 16, 2021 Share Posted July 16, 2021 (edited) command /hug <player>: trigger: if arg is player: send "&cYou cannot hug yourself!" else: broadcast "&6%player%&f hugged &6%arg%" Edited July 16, 2021 by D4isDAVID 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