Hello, I am trying to make a custom NPC that says things to me, like "/npcName Hello!" and the NPC would repond "Hello! <playerName>" stuff like that. I plan to make it much more complex, but for now on is just this.
I am using the examplePerson NPC from the exampleMod as a template. But I am a dumb dumb when comes to programming, the error starts when I try to use the function 'HandleChatMessage()" in a .cs file called ExampleMod.Chat.cs. But when I Build + Reload it causes error and the log says:
ExampleMod.Chat.cs(9,30): error CS0115: 'ExampleMod.HandleChatMessage(string, string)': no suitable method found to override