asd12264 Posted June 27, 2021 Share Posted June 27, 2021 (edited) so basically I'm new to using skript, and I've been wondering how i could fix the problem of this. For example, I would like 5 ranks to have chat format, but I would always get an error. How can I fix this? Here's my code. I'm also using Lucky Perms to do this. on chat: if player has permission "group.vip" set the chat format to "&l&a[Vip]" &a%player%: &f%message% if player has permission "group.mod": set the chat format to "&l&2[Mod] &2%player%: &f%message%" else: set the chat format to "&7%player%: %message%" if player has permission "group.admin": set the chat format to "&l&4[Admin] &4%player%: &f%message%" if name of player is "Player1": set the chat format to "&l&4[Owner] &l%player%: &f%message%" Edited June 27, 2021 by asd12264 code not right Link to comment Share on other sites More sharing options...
AgentGamerPro Posted June 27, 2021 Share Posted June 27, 2021 3 hours ago, asd12264 said: so basically I'm new to using skript, and I've been wondering how i could fix the problem of this. For example, I would like 5 ranks to have chat format, but I would always get an error. How can I fix this? Here's my code. I'm also using Lucky Perms to do this. on chat: if player has permission "group.vip" set the chat format to "&l&a[Vip]" &a%player%: &f%message% if player has permission "group.mod": set the chat format to "&l&2[Mod] &2%player%: &f%message%" else: set the chat format to "&7%player%: %message%" if player has permission "group.admin": set the chat format to "&l&4[Admin] &4%player%: &f%message%" if name of player is "Player1": set the chat format to "&l&4[Owner] &l%player%: &f%message%" 1. Post in the skript discussion next time 2. List the errors you are getting Lifestealed | Minecraft Servers [VIP] 12/26/20 - 10/27/2021[PRO] 12/27/21 - Present Link to comment Share on other sites More sharing options...
TNTiramisu Posted June 28, 2021 Share Posted June 28, 2021 Moved this to Skript Discussion for ya Link to comment Share on other sites More sharing options...
SkripterMan Posted June 28, 2021 Share Posted June 28, 2021 7 minutes ago, TNTiramisu said: Moved this to Skript Discussion for ya Why thank you kind sir! SkripterManJoined Minehut on 4/21/16 Owner of CareSMP.minehut.ggVIP - 6/21/17LEGEND - 18/12/20MARKET MAKER - 5/6/21Discord: SkripterMan#0001 Link to comment Share on other sites More sharing options...
_Tarna_ Posted June 28, 2021 Share Posted June 28, 2021 You forgot a : after the first condition. 1 Discord - Tarna256#8675 In-game name - _Tarna_ Follow @Tarna_256 on Twitter --------------------------------------------------------- [VIP] - 7/27/2020 Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
ChunkerDunkers Posted June 29, 2021 Share Posted June 29, 2021 You need to format the spaces differently. There is a website made by Skunity that parses your skript and tells you the errors. https://parser.skunity.com/ Hello, I'm Nolan! Cool Links Vote Please - bit.ly/3tMXajE MC Server - bit.ly/3hqYAOy Please leave a like if I helped! 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