Paste #115663: Unnamed Denizen Script Paste

Date: 2023/09/26 16:52:55 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


test_hammer:
    type: command
    name: give_hammer
    debug: false
    usage: /give_hammer
    description: testotest
    permission: perm.testotest
    script:
        - define level <context.args.first>
        - if <[level]> != 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10:
            - stop
        - define player <server.match_player[<context.args.get[2]>]>
        - if !<[player].exists>:
            - stop