Paste #7329: proximity fail

Date: 2014/07/23 14:18:19 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


n00b__greeter:
  type: assignment
  interact scripts:
  - 100 greet the noob

actions:
  on assignment:
  - trigger name:proximity radius:6

greet the noob:
  type: interact
  steps:
    "random greetings":
      proximity trigger:
        entry:
          script:
          - chat '<yellow>My name is Filch and I demand respect!'
          - random {
            - if <player.flag[chef_needs_eggs]> != "recieved" {
              - look <player.location>
              - chat '<white>N00b!  The Chef could use your help in the kitchen.'
              }
            - if <player.flag[n00b_castle__graduation]> != "true" {
              - chat '<white>See the headmaster if you are ready for Final Exams.'
              }
            - if <player.flag[n00b_castle__book]> != "true" {
              - chat '<white>All n00bs report to the Librarian to get their Magick Spell Book!'
              }
            - chat '<white>The N00b barracks is on the second floor!  t their Magick Spell Book!'
            - chat '<white>All N00bs should be in their barracks by nightfall.  No curfew violations will be tolerated!'
            }