Paste #36842: Untitled Paste

Date: 2016/10/10 12:30:20 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


Helpop_help_Command:
    type: command
    name: helpop
    debug: false
    description: Command for besked til staff
    usage: /ac
    aliases:
    - helpoperator
    script:
    - if <player.has_flag[]> {
        - 
        - queue clear
    }
    - flag player Helpop_Cooldown duration:30s
    - narrate "<&8>[<&4>Help-OP<&8>] <&7><player.name><&co> <&e><context.raw_args>" targets:<server.list_online_players.filter[has_permission[qmod.mod]]>
    - narrate format:Util_FF "<&b>Besked sendt<&co> <&a><context.raw_args>"
    - repeat 3 {
        - playsound <server.list_online_players.filter[has_permission[qmod.mod]]> sound:ORB_PICKUP pitch:1
        - wait 2t
    }