Solved Helpop Mute Skript

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

SandyVerse

Active Member
Mar 19, 2017
51
0
0
33
How would I use this skript (https://pastebin.com/t0ejifUY) to add a helpop mute feature for a specific player? Ex: /helpopmute <player>: and /helpopunmute <player>. If someone could help me that'd be great, I have a rough outline on how I would do it, but what I'd do would just end up muting the entire server. In addition, having a reason would be nice, sending it to the server and the player.
 
How would I use this skript (https://pastebin.com/t0ejifUY) to add a helpop mute feature for a specific player? Ex: /helpopmute <player>: and /helpopunmute <player>. If someone could help me that'd be great, I have a rough outline on how I would do it, but what I'd do would just end up muting the entire server. In addition, having a reason would be nice, sending it to the server and the player.
some like this way

code_language.skript:
command /mute <player>:
    trigger:
         set {Mute::%arg-1%} to true

#your code from helpop at after Trigger:
if {Mute::%player%} is set:
    send "sorry, you are not allow to use this commands."
 
How would I use this skript (https://pastebin.com/t0ejifUY) to add a helpop mute feature for a specific player? Ex: /helpopmute <player>: and /helpopunmute <player>. If someone could help me that'd be great, I have a rough outline on how I would do it, but what I'd do would just end up muting the entire server.
some like this way

code_language.skript:
command /mute <player>:
    trigger:
         set {Mute::%arg-1%} to true

#your code from helpop at after Trigger:
if {Mute::%player%} is set:
    send "sorry, you are not allow to use this commands."

Doesn't seem to work, here's what I have



command /helpopmute <player> <text>:
trigger:
set {Mute::%arg-1%} to true
broadcast "&c%arg-1% &7has been helpop-muted for &a%arg-2%"

command /helpopunmute <player>:
trigger:
set {Mute::%arg-1%} to false

on command "/helpop":
if {Mute::%player%} is set:
message "{@P} &7You are &chelpop-muted!"

(Obviously with the appropriate tabs/spaces)
 
Last edited by a moderator:
Doesn't seem to work, here's what I have



command /helpopmute <player> <text>:
trigger:
set {Mute::%arg-1%} to true
broadcast "&c%arg-1% &7has been helpop-muted for &a%arg-2%"

command /helpopunmute <player>:
trigger:
set {Mute::%arg-1%} to false

on command "/helpop":
if {Mute::%player%} is set:
message "{@P} &7You are &chelpop-muted!"

(Obviously with the appropriate tabs/spaces)
In the on command, you need to cancel the event lol.
 
In the on command, you need to cancel the event lol.
oops xD
[doublepost=1494530522,1494530433][/doublepost]
In the on command, you need to cancel the event lol.

Now it does it for everyone on the server, not just the person that was muted in that way. Any help?

EDIT: Meaning, everyone can't helpop, even when I didn't helpop mute them.
 
Last edited by a moderator:
Status
Not open for further replies.