Paste #10460: Untitled Paste

Date: 2014/10/14 12:30:23 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


dRestaurantCommand:
  type: command
  debug: false
  name: test
  description: Commands to create and manage dRestaurants.
  usage: <&nl>/test <&lt>help<&gt>
  aliases:
  - restaurant
  - dr
  - drest
  allowed help:
  - determine <player.has_permission[dRestaurant.user]>
# This is what is run when someone types the root command. This subscript
# quickly passes the command on to the command argument handlers below. If the
# argument doesn't exist, or is not specified, it runs the help subscript.
  script:
    - narrate 'hi2'
  help:
    - narrate 'hi'