Paste #14947: Script re-paste from http://hastebin.com/miberovali.xml

Date: 2015/04/06 11:52:24 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


buyhead:
   type: command
   name: buyhead
   description: compra una testa
   usage: /buyhead
   script:
   - if <player.money> < 100 {
     - narrate "<red>Ti servono 100 euri per usare questo commando!" 
     - queue clear 
     }
   - ^if <c.args.get[1]> == NULL {
      - narrate "<gold> Devi usare il commando /buyhead nomegiocatore"
      - queue clear
      }
   - take money qty:100
   - narrate "<green>Ecco a te! (prelevati 100 €!)!" 
   - execute as_op "give <player.name> minecraft:skull 1 3 {SkullOwner:<context.raw_args>}"