Could you please make it so it doesn't have to be 100% accurate? It's very hard to do right without the console spitting out errors
For example:
/colour gradient "#ff0000 #00ff00" works
/colour gradient "#FF0000 #00FF00" does not work
/colour gradient "#ff0000" "#00ff00" does not work
/colour gradient "FF0000 00FF00" does not work
/colour gradient "ff0000 00ff00" does not work
i feel like alot can be done so it would be easier to enter because nobody can use this except admins who understand what they are doing and all the errors in the console when they make a mistake is really too much
For example:
/colour gradient "#ff0000 #00ff00" works
/colour gradient "#FF0000 #00FF00" does not work
/colour gradient "#ff0000" "#00ff00" does not work
/colour gradient "FF0000 00FF00" does not work
/colour gradient "ff0000 00ff00" does not work
i feel like alot can be done so it would be easier to enter because nobody can use this except admins who understand what they are doing and all the errors in the console when they make a mistake is really too much
(17:26:33) | Failed to call hook 'cmdNameColour' on plugin 'ColouredChat v2.1.2' (DivideByZeroException: Attempted to divide by zero.)
at Oxide.Plugins.ColouredChat.ProcessGradient (System.String name, System.String[] colourArgs) [0x0002c] in <f2908c81f5e242a29b6e4ab24505b09c>:0
at Oxide.Plugins.ColouredChat.ProcessColour (Oxide.Core.Libraries.Covalence.IPlayer player, Oxide.Core.Libraries.Covalence.IPlayer target, System.String colLower, System.String[] colours, System.Boolean isMessage, System.String groupName) [0x0013a] in <f2908c81f5e242a29b6e4ab24505b09c>:0
at Oxide.Plugins.ColouredChat.ProcessColourCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String cmd, System.String[] args, System.Boolean isMessage) [0x002cd] in <f2908c81f5e242a29b6e4ab24505b09c>:0
at Oxide.Plugins.ColouredChat.cmdNameColour (Oxide.Core.Libraries.Covalence.IPlayer player, System.String cmd, System.String[] args) [0x00000] in <f2908c81f5e242a29b6e4ab24505b09c>:0
at Oxide.Plugins.ColouredChat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00b58] in <f2908c81f5e242a29b6e4ab24505b09c>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0