static void Main(string[] args) { string channel = args[0]; string rnick = args[1]; string rmsg = args[2]; try { ObsidianFunctions.Functions ObsidFunc = new ObsidianFunctions.Functions(); Console.WriteLine("PRIVMSG " + rnick + " :" + ObsidFunc.channelNames()); } catch (Exception ex) { Console.WriteLine("PRIVMSG " + channel + " :" + ex.ToString()); } }
static void Main(string[] args) { string channel = args[0]; string rnick = args[1]; string rmsg = args[2]; try { ObsidianFunctions.Functions ObsidFunc = new ObsidianFunctions.Functions(); Console.WriteLine("PRIVMSG " + rnick + " :" + ObsidFunc.channelNames()); } catch (Exception ex) { Console.WriteLine("PRIVMSG " + channel + " :" + ex.ToString()); } }