Paste #9740: Edit of P#9739 - Untitled Paste

Date: 2014/09/18 11:47:10 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Quackie:
  type: assignment
  debug: false
  actions:
    on assignment:
      - run locally assignment instantly

    on chat:
      - run locally chatSubScript def:<c.message.to_lowercase> delay:1t

    on proximity:
      - run locally onProximity delay:1t

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

  onProximity:
    - random {
      - chat "Hi!  I<&sq>m Duckie!  If you have a question I<&sq>m your duck!  I mean girl!"
      - chat "Got a question?  ASK ME ANYTHING! well not anything !  Obviously I<&sq>m an npc, I only know.... I mean I<&sq>m a real girl!"
      - chat "Hey!  You!  Yea!  You!  Got a question?"
      - chat "Herrooooooooo therreeee! Got a pretty question for me to answer?  I<&sq>ll answer it for you....if you know what I mean...."
      - chat "Who<&sq>s the girl who people love to ask! Duckie!  Who will give you answers that you ask!  DUCKIE!"
      - chat "Hey, are you new?  Wanna get an answer?  Ask me anything! Almost anything!"
      }

  chatSubScript:
    - if <def[1].matches[hi\b.*]> || <def[1].contains[hey]> || <def[1].contains[hello]> || <def[1].contains[herro]> {
      - 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."
        }
      }
    - if <def[1].contains_any[diagon|diagonally|diagonalley]> && <def[1].contains[where]> {
      - random {
        - chat "Yikes, are you new?  You don't know that Diagon Alley is down the road?"
        - chat "You gonna go shopping at Diagon just past the leaky cauldron?"
        - chat "Do I have to tell you where Diagon is?"
        - chat "Dude, Quack!  You don't even know how to get to Diagon, it's like right down the street!"
        - chat "You're like not even a block from Diagon, are you like stupid? Quack!  Opps ! Quack Quack!  Hiccups."
        }
      }
    - if <def[1].contains[how]> && <def[1].contains_any[are|r]> && <def[1].contains_any[you|u]> {
      - random {
        - chat "I'm doin' good bruh!  Whats your, Quack! Deal here?  You gonna got something for me?"
        - chat "I'm doing okay!  Gotta help newbies all day!  Talk about laaaaammmmmeeee"
        - chat "Sucky right now!  My job sucks!  I mean who wants to talk to newbs all day? Quack!"
        - chat "Everything is wonderful!  I loooooooveee working at Knockturn!  Pande is the BEST!"
        - chat "It would be great.  Except I'm here.  With you....."
        }
      }
    - if <def[1].contains[bye]> || <def[1].contains[bai]> || <def[1].contains[ltr]> || <def[1].contains[l8tr]> || <def[1].contains[ltr]> {
      - random {
        - chat "Uh... LATER!  Whatever....just leave me!"
        - chat "Great.... I'll just be here...waiting for a newbie......."
        - chat "Bye! And don't come back!"
        - chat "Good! I'm glad you're gone!"
        - chat "Don't leave yet! We're like...friends...right?"
        }
      }
    - if <def[1].contains[what]> && <def[1].contains[do]> {
      - random {
        - chat "It's always the same question with the sammmmmeeeee answer<&co>  SkyBlocks, HP World, Towny, Mining world Ladi da!"
        - chat "For Free, you can do skyblocks!  You can go to Mining World, buy it's grief open.  You can join a towny in towny (Towns cost $10k) or go to Hogwarts!"
        - chat "Depends on what you want to do, ask me again and maybe I'll give you an answer!"
        - chat "We play! Have Fun!  My Sky Block is pretty chill, but I love Hogwarts, and I love Quidditch!  But we need a lot of people for that!"
        - chat "I dunno, what do YOU wanna do??"
        }
      }
    - if <def[1].contains[bonjour]> || <def[1].contains[salut]> {
      - random {
        - chat "Salut!  Je suis Duckie!  Je peux un peu de francais, mais je ne suis pas francaise!"
        - chat "Bonjour!  NiHao!  Hola!  Je suis Duckie!  Enchantee!"
        - chat "Salut!!!!  Bienvenue a Knockturn!"
        - chat "Ohhhhh, tu parles francais !  Mais je peux parler un peu de francais!"
        - chat "CANARD! Quack Quack !  Mais bien sur je suis un canard!  Quack!  Salut!  Quack!"
        }
      }
    - if <def[1].contains_any[where|how]> && <def[1].contains_any[get|are]>  && <def[1].contains_any[wand|wands]> {
      - random {
        - chat "Yea, wands huh? Well you kind of have to go to Diagonally first."
        - chat "Why don't we roll it back dude, how about you go to Diagon and get money first."
        - chat "Don't you want to go to Gringotts first?  You don't look like you got much money."
        - chat "Lets think...... What was the name of the wand shop in Harry Potter?  OH RIGHT! OLLIVANDERS!"
        - chat "You quack me up!  Ollivanders of course. *quacks quietly*"
        }
      }
    - if <def[1].contains_any[thanks|thx|thank|thaaanks]> {
      - random {
        - chat "You're Welcome..... I think."
        - chat "Uhhh...... you're welcome?"
        - chat "Why are you thanking me?  I'm Pande's slave!"
        - chat "Thank everyone else! I have no choice to be here anyway."
        - chat "Quack <3!"
        }
      }
    - if <def[1].contains_any[fuck|bitch|fuckin|shit|fucking|slut|whore|asshole|b1tch|branch|branches|twig]> {
      - random {
        - chat "Bruh, no bruh, don't do swears like that bruh, no no, bruh, bruh come on be a bruh bruh!"
        - chat "WHY?  WHAT DID I DO TO YOU TO HAVE YOU SWEAR AT ME! I AM GONNA CRY ALL NIGHT NOW! YOU'RE SO MEAN!"
        - chat "Can you PLEASEEEEEE WATCH THAT LANGUAGE!"
        - chat "Do you kiss your momma with that mouth, because that thing is dirty!  Like you ate poop!"
        - chat "QUACCCCK!  QUACK QUACK QQQAAUUAUAUUCK!!!!!!! QUACK QUACK ! QUACK QUACK quack quack quack QUACK!"
        }
      }
    - if <def[1].contains_any[How|where]> && <def[1].contains[do]> && <def[1].contains[money]> {
      - random {
        - chat "You go to mining world at first, then if you get enough you can go to towny and use a towny to do farming and stuff!"
        - chat "GET A JOB YOU BUM!  (Sometimes people have them to offer, but mining world mostly works.)"
        - chat "I suggest going to mining world, or mining world, or mining world .... or mining world!"
        - chat "Maybe someone has room in their farming town?"
        - chat "Quack!  I'm a duck!  Money?!  Whats money?!  Mining World ?  Whats That?"
        }
      }
    - if <def[1].contains[where]> && <def[1].contains_any[am|are|is]> && <def[1].contains[I|we|this]> {
      - random {
        - chat "You're in Knockturn!  A Harry Potter Server! Oh... We're in London! DUHH! Don't you know that!"
        - chat "Don't be silly, doesn't this look like leaden hall?"
        - chat "Uhh.... London?  What did you just wake up here?  How did you get here?  Like obviously your plane ticket told you that you were going to London... right?"
        - chat "Quack?  LONDON! quack quack quack!  Leaden Hall! Quack!"
        - chat "Well we're on the earth....and this is a building....oh it's supposed to be IN London."
        }
      }
    - if <def[1].contains[how]> && <def[1].contains_any[get|go]> && <def[1].contains_any[hogwarts|castle]> {
      - random {
        - chat "You might want to consider Diagon Alley first, but if you've been there, the PhoneBooth."
        - chat "You might want to go down the street to Diagon orrrr that magical phone booth?"
        - chat "Are you new?  DiagonAlley baby!  Elsewise, you might consider Doctor Who's method"
        - chat "Quack!  Down that way!  Quack!  The Street!  Quack! The Leaky Cauldron! Quack! OR ! Quack ! The Phone Booth!"
        - chat "Quack! The same way you get to mining world and skyblocks!"
        }
      }
    - if <def[1].contains[can]> && <def[1].contains_any[mine|build]> {
      - random {
        - chat "You can make anything of your own in MiningWorld or SkyBlocks!"
        - chat "SkyBlocks and MiningWorld are open to ALL to do whatever you like!"
        - chat "You wanna mine or build! I GOT THE PLACE ! MINING WORLD !!! skyblocks is good too....."
        - chat "Quack?  Do you know that phone booth?  It brings you to mining world!"
        - chat "Mining world is beautiful, just check it out....that phone booth might help you.....make a call....."
        }
      }