Paste #879: Untitled Paste

Date: 2014/01/01 20:10:33 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
19
20


PlayerLogsIn:
  type: world

  events:
    on player login:
    - run locally 'pvp_talker'

    on player chats:
      - if <context.message> contains 'yes' {
          - announce "[world]<&lt><&e>[Recruit]<&f>Bob<&gt> Ok. Im at the PvP arena. Use the portal at spawn."
        }

        - if <context.message> contains 'no' {
          - announce "[world]<&lt><&e>[Recruit]<&f>Bob<&gt> Maybe next time!"
        } 


  pvp_talker:
    - wait 10-30
    - announce "[world]<&lt><&e>[Recruit]<&f>Bob<&gt> Hey <player.name>! Want to PvP?"