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.
New to c#
Discussion in 'Rust Development' started by jeffdog1999, Aug 21, 2017.
-
Wulf Community Admin
I'd suggest taking a look at some of the existing chat plugins.
-
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.
-
Wulf Community Admin
-
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"); }