Solved How would i do this? (Read post)

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

KarimAKL

Active Member
Apr 20, 2018
50
2
0
Okay so i'm trying to use a variable(option) in my message like this:
code_language.skript:
message "&cYou need the permission &4%{@permission}% &cto do that!"
This variable(option) will be a permission like "skript.whatever.permission" but when i do it like this it comes with this error:
Code:
'skript.whatever.permission' is not an entity type (Test.sk, line 583: message "&cYou need the permission &4%{@permission}% &cto do that!"')
So i'm asking again, how would i do this?

Skript version: 2.1.2
Minecraft version: 1.8.8
Addons: SkQuery 3.21.4

Solved: Seems i was just an idiot and forgot i don't need % when using options. :emoji_stuck_out_tongue:
 
Status
Not open for further replies.