Date: 2015/04/06 11:52:24 UTC-07:00
Type: Denizen Script
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>}"