Jump to content

hangtight

Member
  • Posts

    18
  • Joined

  • Last visited

Posts posted by hangtight

  1. 2 hours ago, Centrect said:

    skripts are very hard to keep original, especially when its such a basic command. I dont see any need why they would need to give creds, also no offence to either side but its one of the most inefficient skripts ive ever seen so I wouldnt even use "proceedings"s skript.

    he is using custom permissions.. but its one of his skripts from his skript folder that he released for his server. + it literally looks  the same and he didn't even provide the function so it wouldn't even work.

     

  2. On 1/21/2021 at 12:32 AM, HeavyGames said:

    Who is preceding?

    hes a friend of mine, he released his skripts for one of his servers.

    this is HIS broadcast skript..
     

    command /broadcast [<text>]:
    
        aliases: bc 
    
        trigger:
    
            if executor is not a player:
    
                set {_perm} to true 
    
            else:
    
                if getHasPermission(player, "hydrogen.command.broadcast") is true:
    
                    set {_perm} to true 
    
            if {_perm} is not set:
    
                message "&cYou do not have permission to use this command."
    
            else:
    
                if arg 1 is not set:
    
                    message "&eUsage: &d/broadcast &f<message>"
    
                else:
    
                    broadcast colored arg 1
    
    
    
    command /messagetome [<text>]:
    
        aliases: mtm, m2m
    
        trigger:
    
            if getHasPermission(player, "hydrogen.command.messagetome") is false:
    
                message "&cYou do not have permission to use this command."
    
            else:
    
                if arg 1 is not set:
    
                    message "&eUsage: &d/messagetome &f<message>"
    
                else:
    
                    message colored arg 1

    so give credit mayb?

  3. take this function,

     

    function formatNumber(n: number) :: string:
        set {_l::*} to split "k|M|B|T|Qn|Qi|Sx" at "|"
        set {_i} to min(floor(log({_n})/3), size of {_l::*})
        return "%{_n}%" if {_i} <= 0
        set {_i2} to 1000^{_i}
        return "%{_n}/{_i2}%%{_l::%{_i}%}%"
     
    # to run, send "%formatNumber(1000)%"
  4. Staff Chat

     

    Download:

    https://pastebin.com/LUEmgc5k

    What is it?

    This is another form of chat for your staff. You can talk about anything and only staff and people with the required permissions can see it.

    Commands:

    /sc <message>

    /sc (toggleable)

    Permissions:

    core.staff

    How to use:

    Give all staff on your server the required permission.

    Do /sc to toggle staff chat.

    Or, you can just do /sc <message>.

     

    Please DM me on discord if this does not work for you.

    hangtight#6120

     

    Screenshots:

    https://prnt.sc/s1jd0z

    https://prnt.sc/s1jd5z

    https://prnt.sc/s1jdbs

     

     

     

     

×
×
  • Create New...