Hello,
I use BcStorm (Fixed by Leon), but I want chatlog on it... I tried with a own script in some "chat" .cs files:
But it didn't work...Code:using (IQueryAdapter dbClient = ButterflyEnvironment.GetDatabaseManager().getQueryreactor()) { dbClient.setQuery("INSERT INTO chatlogs (user_id,room_id,hour,minute,timestamp,message,user_name,full_date) VALUES ('" + userID + "','" + roomID + "','" + DateTime.Now.Hour + "','" + DateTime.Now.Minute + "','1273133831.41423','" + message + "','" + username + "','" + DateTime.Now.ToLongDateString() + "')"); }
A lot people are searching for this problem, but nobody has it (Or post it). Maybe is it too good for them?
Any ideas to make this for BcStorm?
- Jasler



Reply With Quote


