public override void Action(CommandCaller caller, string input, string[] args) { RPGPlayer character = caller.Player.GetModPlayer <RPGPlayer>(); int level = Int32.Parse(args[0]); level = Mathf.Clamp(level, 0, 9999); character.ResetSkillTree(); for (int i = 0; i < level; i++) { character.commandLevelup(); } }