New to c#

Discussion in 'Rust Development' started by jeffdog1999, Aug 21, 2017.

  1. i been studing alot of videos, ect and i think im starting to understand the langauge of c#, iv found all the api stuff too ill need for rust but how do i make it so my skript will watch chat and respond if player sends something in chat. im confiused about voids, ect. can anyone point me to a page i can learn more or can someone in here help me out.
     
  2. Wulf

    Wulf Community Admin

    I'd suggest taking a look at some of the existing chat plugins.
     
  3. i have. looked in auto broadcast, ect. most use just commands to activate. i want one that watches chat and will respond if like a aplayer sends in chat when is next wipe the plugin will auto respond either globaly or privatly to their client. i have yet to find anything that will do this and i been searching around on oxide for any plugin representing what im looking for.
     
  4. Wulf

    Wulf Community Admin

    If you're simply looking for a plugin, there's a Request section for that. I'd suggest playing around a bit to get familiar with how plugins work if you're trying to develop something.
     
  5. You can use this like sample for create what you need
    Code:
    object OnPlayerChat(ConsoleSystem.Arg arg) {
    if (arg.Args.ToSentence().Contains("wipe"))
        arg.Player().ChatMessage("Wipe was today");
    }