Paste #21413: Rule keeper

Date: 2015/10/24 02:15:39 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Me:
 type: assignment
 actions:
  on click:
  - narrate format:cchat "What would you like to know? 8)"
  on assignment:
  - trigger name:chat state:true
  - trigger name:proximity state:true radius:6
 interact scripts:
 - 1 Me_interact

Me_interact:
 type: interact
 steps:
  1:
   proximity trigger:
    entry:
     script:
     - narrate format:cchat "Hellow <player.name> I'm the server owner dcconnell! Pleasure to meet you in person :^) Right-click me for more general info!"
    exit:
     script:
     - narrate format:cchat "See you soon <player.name>! I hope I was able to answer your questions! If not submit a <&f>/ticket<&7> and I'll add the script lines to tell you what you wanted to know! :D"
  2: 
   chat trigger:
    1:
    trigger: "hows life?" 
    script:
    - narrate format:cchat "Great! I could never be unhappy here :D, it's full of so many wonderfull and great people, it's truly the best place to be!"
    2:
    trigger: "whats my lucky number?"
    script:
    - narrate format:cchat "Your lucky number for today is <util.random.int[1].to[100]>"