This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
i am trying to make rank purchased by npc, i still havent add commands to npc so they are not the problem
the problem is that i try to check if a player has permission custom.rankup1 and if he does then a text will appear and if not then console add player to the group
and then make custom.rankup1 true so next time he try to use this command he wont be able to
but when i run the code its says i already have the permission even when i checked i dont and i am not op
this is my custom command:
rank1: command: /rankup1 type: RUN_CONSOLE runcmd: - '$Script$%if%HasPermission=mycommand.cmd.dice' - '/lp user $player parent add noob' - '/lp user $player permission set rankup1.true true' - '$text$&arank successfully purchased' - '$Script$%else%' - '$text$&3You already purchased this rank' permission-required: false
To post a comment, please login or register a new account.