- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypeDenizen Script
Date2014/09/17 08:35:35 UTC-07:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
3100
Quackie:
  type: assignment
  debug: false
  actions:
    on assignment:
      - run locally assignment instantly

    on chat:
      - inject locally chatSubScript

  assignment:
    - flag npc respawn_location:<npc.location>
    - trigger name:chat state:true
    - trigger name:click state:true
    - trigger name:proximity state:false
    - trigger name:damage state:false
    - vulnerable state:false
    - lookclose true
    - run locally spawn instantly

  chatSubScript:
    - if <c.args.contains[Hi]> {
      - random {
        - chat "Hi, I'm Duckie!  Are you new to Knockturn?"
        - chat "Sup?  Are you a newbie?  I like newbies!"
        - chat "Quack!  Quack Quack!  Oh, wait, Hi!  Do you speak Duck?"
        - chat "Meow! Woof! No I know I am a Duck!  Hi! Quack, Quack, Quack"
        - chat "Hi.  I don't know you.  Why are you still here?  Quack."
        }
      }



RawRaw



Pastes made: 70270