From de18c5d8dac25beae6a4032a9236df2a767fec42 Mon Sep 17 00:00:00 2001 From: stacey Date: Sat, 7 Aug 2021 10:45:35 -0400 Subject: [PATCH] forgot to add colours to /buff --- TShockAPI/Commands.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index 92b3abde..6f6fae34 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -6171,15 +6171,15 @@ namespace TShockAPI private static void Buff(CommandArgs args) { - // buff [duration] + // buff <"buff name|ID"> [duration] var user = args.Player; if (args.Parameters.Count < 1 || args.Parameters.Count > 2) { user.SendMessage("Buff Syntax and Example", Color.White); - user.SendMessage($"buff [duration]", Color.White); - user.SendMessage($"Example usage: buff [seconds]", Color.White); - user.SendMessage("If you don't specify the duration, it will default to 60 seconds.", Color.White); - user.SendMessage("If you put -1 as the duration, it will use the max possible time of 415 days.", Color.White); + user.SendMessage($"{"buff".Color(Utils.BoldHighlight)} <\"{"buff name".Color(Utils.RedHighlight)}|{"ID".Color(Utils.RedHighlight)}\"> [{"duration".Color(Utils.GreenHighlight)}]", Color.White); + user.SendMessage($"Example usage: {"buff".Color(Utils.BoldHighlight)} \"{"obsidian skin".Color(Utils.RedHighlight)}\" {"-1".Color(Utils.GreenHighlight)}", Color.White); + user.SendMessage($"If you don't specify the duration, it will default to {"60".Color(Utils.GreenHighlight)} seconds.", Color.White); + user.SendMessage($"If you put {"-1".Color(Utils.GreenHighlight)} as the duration, it will use the max possible time of 415 days.", Color.White); return; }