|
Post by livingegg on Oct 24, 2011 9:44:14 GMT -8
Does anyone know if it is possible to any of the following with Radegast?:
-The bot can parse the contents of an IM and reply conditionally based on content. (I know the AIML engine can do this but what if I want to do it myself in C# for example) -The bot can initiate an asynchronous procedure before replying to IM. For example, it may decide to call a RESTful web service and return the response to the user via IM. -The bot can maintain "state" throughout an IM "session" with another avatar.
Thanks,
|
|
|
Post by Latif Khalifa on Oct 24, 2011 15:11:41 GMT -8
The way to do that would be to write a plugin in c#. Radegast would load any .cs or .dll with the proper interface. You could just copy DemoPlugin.cs and change a its file name to the folder where Radegast.exe lives. DemoPlugin is shipped with the source code or you can get it from: radegast.googlecode.com/svn/trunk/plugins/Radegast.Plugin.Demo/DemoPlugin.csIt has sample code how to respond to an IM, you can just fill in your own code-
|
|