I dont want members to access this command

  • 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.

Geico

New Member
Jan 19, 2021
6
0
1
when i finished it i thought i succeeded and was done but when i reloaded the skript it showed an error about not knowing the Else: effect or condition.Fix? this is the skript
on left click holding a bamboo:
make player shoot a fireball at speed 2
command /firewand:
trigger:
give player 1 bamboo named "&6Fire Wand"
on block place bamboo:
cancel event
on command "/firewand" :
if player is OP:
stop
else:
cancel event
send "&cCannot run command"
 

Attachments

  • sk1.PNG
    sk1.PNG
    12.7 KB · Views: 226
Try this
Code:
on left click holding a bamboo:
   make player shoot a fireball at speed 2

command /firewand:
   trigger:
       give player 1 bamboo named "&6Fire Wand"

on block place bamboo:
   cancel event

on command "/firewand":
   if player is OP:
       stop
   else:
       cancel event
       send "&cCannot run command"
 
Yes when i posted this i intended to get help as i was getting the same error, i fixed them, want some of the ones i made?
 
when i finished it i thought i succeeded and was done but when i reloaded the skript it showed an error about not knowing the Else: effect or condition.Fix? this is the skript
on left click holding a bamboo:
make player shoot a fireball at speed 2
command /firewand:
trigger:
give player 1 bamboo named "&6Fire Wand"
on block place bamboo:
cancel event
on command "/firewand" :
if player is OP:
stop
else:
cancel event
send "&cCannot run command"
Are you having issues with "if player is op"? or...
 
Status
Not open for further replies.