on rightclick dont work for members

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

danielzinh

Member
Aug 1, 2019
13
0
1
25
Hi, i have an issue, i have using Skript 2.2 dev27 and...

My code is:
Code:
on rightclick:
    broadcast "test"

this code dont send the broadcast if has been clicked for an member without op, but, if i have OP and click then, works, sends broadcast...

No console errors, no skript errors, wtf
 
Hi, i have an issue, i have using Skript 2.2 dev27 and...

My code is:
Code:
on rightclick:
    broadcast "test"

this code dont send the broadcast if has been clicked for an member without op, but, if i have OP and click then, works, sends broadcast...

No console errors, no skript errors, wtf
Code:
#try this
on rightclick:
    broadcast "test" to player
 
Skript 2.2 dev27 does not allow you to use "on rightclick:". If it does allow you to use the phrase "on rightclick:" try this,




Code:
on rightclick:
    if executor name is "yourusername":
        broadcast "test"
 
Last edited:
Skript 2.2 dev27 does not allow you to use "on rightclick:". If it does allow you to use the phrase "on rightclick:" try this,




Code:
on rightclick:
    if executor name is "yourusername":
        broadcast "test"
Pretty sure on click was added in Skript 1.0 though
 
Status
Not open for further replies.