PineconePinecone Posted March 14, 2022 Share Posted March 14, 2022 Everything is fine. No bugs command /whisper <player> [<text>]: description: Whisper to someone without having to be friends! aliases: /w permission: whisper.use permission message: &c&l[!] You do not have permission to use this command! trigger: if arg-1 is set: send "&7%player% whispers to you: %arg-2%" to arg-1 send "&7You whispered this to %arg-1%: %arg-2%" to player But I want to add something at the end that prevents you from messaging yourself. With the text being "&c&l[!] You cannot message yourself!". I tried doing this and it worked, but it still showed the the text of your message and who you sent it to. As well as a message and who sent it to you. Could anyone help with this? If you can, thanks! Link to comment Share on other sites More sharing options...
Novi_The_Goddess Posted March 15, 2022 Share Posted March 15, 2022 This should work I guess. if arg-1 is executor: send "&cYou can't message yourself!" to executor. ^^ ^^ ^^ ^^ ^^ This is me, I'm a lazy cat. My Discord username is novi.jpg, feel free to add me if you're willing to have a conversation with me. Meow. Link to comment Share on other sites More sharing options...
PineconePinecone Posted March 19, 2022 Author Share Posted March 19, 2022 On 3/15/2022 at 10:58 AM, WhenUInfectUNoob said: This should work I guess. if arg-1 is executor: send "&cYou can't message yourself!" to executor. Thanks! I'll try this! Link to comment Share on other sites More sharing options...
PineconePinecone Posted March 19, 2022 Author Share Posted March 19, 2022 On 3/15/2022 at 10:58 AM, WhenUInfectUNoob said: This should work I guess. if arg-1 is executor: send "&cYou can't message yourself!" to executor. I tried it but it still showed whatever I sent myself. It kinda defeats the whole purpose of not being able to message yourself Link to comment Share on other sites More sharing options...
Pryzmm Posted March 26, 2022 Share Posted March 26, 2022 On 3/18/2022 at 8:11 PM, PineconePinecone said: I tried it but it still showed whatever I sent myself. It kinda defeats the whole purpose of not being able to message yourself add "stop" after the second line (send "&cYou can't message yourself!" to executor) if arg-1 is executor: send "&cYou can't message yourself!" to executor stop Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present 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