Hi all,
New to Skript and trying to set the player to a variable inside of skript.
The purpose of the command is to upgrade a player to a rank
I am trying to assign the players name to a variable so I can use it to give items.
The command itself is /BcUpgrade <player>, <text>
I need to assign that player parameter to a variable or if you guys know another way of giving a player an item that would be great
Code:
New to Skript and trying to set the player to a variable inside of skript.
The purpose of the command is to upgrade a player to a rank
I am trying to assign the players name to a variable so I can use it to give items.
The command itself is /BcUpgrade <player>, <text>
I need to assign that player parameter to a variable or if you guys know another way of giving a player an item that would be great
Code:
code_language.skript:
command /BcUpgrade <player>, <text>:
description: Upgrades player to rank.
aliases: BcUpgrade
usage: /BcUpgrade <player>, <rank>
permission: donate.player
trigger:
make console execute command "/manuadd %arg 1% %arg 2%"
set {_player.text} to "%arg 1%"
arg 2 is "Donor":
make console execute command "/give %arg 1% 7 7"
give _player 98 64