Paste #4066: Untitled Paste

Date: 2014/05/05 08:05:25 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


test2: 
  type: assignment 
  interact scripts: 
  - 1 RancherMain 

RancherMain: 
  type: interact 
  steps: 
    1: 
      click trigger: 
        script: 
        - chat "Hey <player.name>, I could use some help" 
        - wait 2 
        - chat "I really need a new horse" 
        - wait 2 
        - chat "Can you help me out?" 
        - modifyblock l@27,65,247,world m@dirt
        - modifyblock l@27,65,247,world m@air
        - take i@diamond qty:1
        - if player.money >= 30{
          - chat "Yo"
          } else {
          - chat "No"
          }