Can someone help me make tempmute?

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

TullyMastully

Member
Aug 9, 2017
38
0
0
34
Hey!
I'm kind of new to skript, and I don't know how to make a tempmute skript.
I would love some help! :c
 
Hey!
I'm kind of new to skript, and I don't know how to make a tempmute skript.
I would love some help! :c

code_language.skript:
#After typing the code (of the command)
on chat:
    if {tempmute.%player%} is "Muted":
        cancel event
        send "&6You are muted!" to player
    else if {tempmute.%player%} is "UnMuted":
        stop
code_language.skript:
command /tempmute [<player>] [<number>] [<text>]:
    trigger:
        arg 1 is set:
            arg 2 is set:
                arg 3 is set:
                    if {tempmute.%arg 1%} is "Muted":
                        send "&cYou can't mute this player again"
                        stop
                    else:
                        set {tempmute.%arg 1%} to "Muted"
                        send "&cYou be muted" to arg 1
                        send "&cYou muted to: &4%arg 1%" to player
                        wait arg 2 seconds
                        set {tempmute.%player%} to "UnMuted"
                        send "&cYou muted cooldown is off" to arg 1
                        stop
#The other codee ....
#I don't know if this work :/
 
  • Like
Reactions: Wynnevir
Status
Not open for further replies.