Paste #15713: Diff note for paste #15712

Date: 2015/05/09 21:42:45 UTC-07:00
Type: Diff Report

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
20
21


 Painting:
     type: command
     debug: false
     name: painting
     description: Switches the painting you are looking at
     usage: /painting
     permission: Cromis.Painting
     permission message: Sorry, <player.name>, you can't use my command because you don't have the permission '<permission>'!
     script:
         - define arg_size <context.args.size>
         - if %arg_size% < 1 {
             - narrate "<gold>Correct usage /painting nameofpainting"
             } else {
                 - define arg1 <c.args.get[1]>
                 - adjust <player.location.cursor_on.find.entities[painting].within[5].get[1]> painting:<def[arg1]>
                 }