- mcmonkey studios -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


Titlesupport command
TypeDenizen Script
Date2016/09/17 09:38:48 UTC-07:00
ByWarlkar
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2100
On Command Support:
    type: command
    name: support
    description: Benachrichte den Support!
    usage"/support [nachricht]"
    aliases:
        - report
        - admins
    permisson: denizen.command.support
    permisson message"<red>Sorry <player.name>, du hast nicht die berechtigung <permisson> um den befehl zu nutzen!"
    allowhelp:
        - determine <player.is_op||<player.has_permission[denizen.command.support]||<context.server>>>
    script:
        - if !<player.is_op||<player.has_permission[denizen.command.support]||<context.server>>> queue clear
        - ~webget "http://alternate.w-games.de/webhook.php?event=MinecraftSupport&value1=<player.name>&value2=Server: Lobby <player.location.simple>&value3=<context.raw_args>" save:webres
        - if !<entry[webres].failed> {
            - narrate "<green><entry[webres].result>"
        } else {
            - narrate "<red>Fehlgeschlagen, versuche es sp├Ąter nocheinmal"
        }



RawRaw



Pastes made: 50329