1. Code:
    using Oxide.Core.Libraries.Covalence;namespace Oxide.Plugins
    {
        [Info("EpicPlugin", "Unknown", "1.0.0")]
        [Description("A basic chat command")]    class CsharpTest : CovalencePlugin
        {        protected override void LoadDefaultConfig()
            {
              PrintWarning("Creating a new configuration file");
              Config.Clear();
              Config["wipedate"] = "DATE";
              SaveConfig();
            }
            [Command("WipeInfo")]
            void TestCommand(IPlayer player, string command, string[] args)
            {
                player.Reply("TEST IN CS");
            }        [command("WipeChangelast")]
              void wipecmd(IPlayer player, string command, string[] args)
              {
                  config["wipedate"] = args[0];
                  SaveConfig();
                  player.Reply("The wipe date is " + Config["wipedate"] + " !");          }    }
    }
    
    [DOUBLEPOST=1470255811][/DOUBLEPOST]first time in CS
    [DOUBLEPOST=1470255925][/DOUBLEPOST]so i am sorry0 if i'm being completely stupid...
     
  2. Wulf

    Wulf Community Admin

    I don't see any issue there, what exactly is the issue? Are you getting any errors?
     
  3. (21:29:54) | [Oxide] 21:23 [Error] CsharpTest.cs(29,15): error CS0103: The name `config' does not exist in the current context
     
  4. Wulf

    Wulf Community Admin

    Ah, Config, not config. You have it lowercase when trying to set it, which is wrong.
     
  5. (21:36:00) | [Oxide] 21:29 [Error] CsharpTest.cs(26,10): error CS0246: The type or namespace name `command' could not be found

    i got this after the change
     
  6. Wulf

    Wulf Community Admin

    Same case with [command, it needs to have a capital C.
     
  7. finally fixed the problem Capitalization is a big thing i need to work on... i am a python programmer at heart.
    [DOUBLEPOST=1470257045][/DOUBLEPOST]im getting no output from the wipechangelast command...
     
  8. If you are typing /wipechangelast and you dont get anything that's probably because the command is set as "WipeChangelast".