Solved [HELP] Skript | Cancel 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 comminuty!

    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.

Jarno

Member
Sep 5, 2020
2
0
0
26
Hello everyone, i want to make a user not bannable for example like this:
/ban Jarno
Would make it say "you do not have permission"
but if i do /ban RandomPlayer5
It will just ban him.
I have been trying to do this via canceling the event, and make it trigger on ''/kick Jarno'' but when you would say /kick it says ''/kick Jarno'' so i would like some help with this, Thanks!

my script:
command /ban Jarno:
trigger:
cancel event
message "You have no permission!"
 
Hello everyone, i want to make a user not bannable for example like this:
/ban Jarno
Would make it say "you do not have permission"
but if i do /ban RandomPlayer5
It will just ban him.
I have been trying to do this via canceling the event, and make it trigger on ''/kick Jarno'' but when you would say /kick it says ''/kick Jarno'' so i would like some help with this, Thanks!

my script:
command /ban Jarno:
trigger:
cancel event
message "You have no permission!"
Code:
on command "/ban jarno":
    cancel event
 
Status
Not open for further replies.