using Radegast;
using System.Text.RegularExpressions;
using System.Net;
-using System.Windows.Forms;
+using System.Windows.Forms;\r
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
using System.Threading;
namespace RadegastSpeech.Conversation
using System.IO;
using System.Threading;
using OpenMetaverse;
-using Radegast;
-
+using Radegast;\r
+\r
+#if (COGBOT_LIBOMV || USE_STHREADS)\r
+using ThreadPoolUtil;\r
+using Thread = ThreadPoolUtil.Thread;\r
+using ThreadPool = ThreadPoolUtil.ThreadPool;\r
+using Monitor = ThreadPoolUtil.Monitor;\r
+#endif
namespace RadegastSpeech.Talk
{