22 lines
657 B
Plaintext
22 lines
657 B
Plaintext
|
#--------------------------------------------------
|
||
|
#
|
||
|
# MIRRICRAFT
|
||
|
# by Christer Warén / Warén Group
|
||
|
#
|
||
|
#--------------------------------------------------
|
||
|
|
||
|
command /inventory [<player>]:
|
||
|
description: Inventory
|
||
|
executable by: players
|
||
|
trigger:
|
||
|
if arg-1 is not set:
|
||
|
if player has permission "mirricraft.inventory":
|
||
|
wait 2 tick
|
||
|
open player's inventory to player
|
||
|
stop
|
||
|
if arg-1 is set:
|
||
|
if player has permission "mirricraft.admin":
|
||
|
wait 2 tick
|
||
|
open arg-1's inventory to player
|
||
|
stop
|