NoutLost_ Posted February 15, 2022 Share Posted February 15, 2022 on chat: if first character of message is "#": if player has permission "staff.see": replace "#" with "/sc " in message so it gives no errors for "if first character of message is "#":" but are their any other ways so do it like this? Link to comment Share on other sites More sharing options...
Wyndexx Posted February 15, 2022 Share Posted February 15, 2022 I don't understand exactly what you mean, but I think if first character of message is "#": should work well enough. Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! Link to comment Share on other sites More sharing options...
NoutLost_ Posted February 15, 2022 Author Share Posted February 15, 2022 27 minutes ago, Gam3rBoi said: I don't understand exactly what you mean, but I think if first character of message is "#": should work well enough. am i stupid or what? isn't that exactly what i coded lol. it just doesn't work Link to comment Share on other sites More sharing options...
Wyndexx Posted February 16, 2022 Share Posted February 16, 2022 21 hours ago, NoutLost_ said: am i stupid or what? isn't that exactly what i coded lol. it just doesn't work No. I was just trying to say that it should work... Maybe try something like if first character of "%message%" is "#": I'm on mobile sorry Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! 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