Shoutbox

chat groups enable or not - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: chat groups enable or not (/showthread.php?tid=82919)

chat groups enable or not by Suxsem on 04-03-2008 at 11:18 AM

Hi!
how script know if chat groups function is enable or disable?
Thank!


RE: chat groups enable or not by Eddie on 04-03-2008 at 11:21 AM

I don't understand your question, are you asking whether scripts can stop group chats, or how you get a script to know when your in a group chat?


RE: chat groups enable or not by mynetx on 04-03-2008 at 11:26 AM

If you want to know whether Plus's setting for it is currently enabled, try this piece of code:

code:
var objShell = new ActiveXObject("WScript.Shell");
var boolTabbedChatsEnabled = false;
if(Messenger.MyStatus > 1)
    boolTabbedChatsEnabled = objShell.RegRead("HKCU\\Software\\Patchou\\Messenger Plus! Live\\" + Messenger.MyEmail + "\\Preferences\\TabChatAuto") == 1;

// now use like
// if(boolTabbedChatsEnabled) { ... }

RE: chat groups enable or not by Suxsem on 04-03-2008 at 05:17 PM

hi! SCUSE ME FOR BAD ENGLISH :(
very thenks for mynetx!
bye bye!