Paste #22778: Edit of P#22777 - MotD Sample

Date: 2015/11/18 16:59:34 UTC-08: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


MotD:
    type: world
    pre:
    - narrate "MotD: Test." targets:<def[Value]>
    events:
        on player join:
            - wait 2
            - inject locally pre
        on player respawns:
            - wait 1
            - inject locally pre
        on motd command:
            - inject locally pre
        on announcemotd command:
            - if <player.is_op.not> queue clear
            - foreach <server.list_online_players> {
                - inject locally pre
            }