Shoutbox

Block... - 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: Block... (/showthread.php?tid=66325)

Block... by genesistr on 09-16-2006 at 03:33 PM

i need a script. i try to block the current person that i chat but i couldnt do :(
how can i do that?
i should get the user's email or name and block it but i cant ...
plz help... :)
thx..


RE: Block... by minipatchou on 09-16-2006 at 03:39 PM

use /block and to block people out of chat put /block user@domain.com :D


RE: Block... by Felu on 09-16-2006 at 03:41 PM

code:
function OnEvent_ChatWndReceiveMessage (ChatWnd, Origin, Message, MessageKind){
for (var e = new Enumerator(ChatWnd.Contacts); !e.atEnd(); e.moveNext()){
Contact = e.item();
Contact.Blocked = true;
}
}

OR
code:
ChatWnd.SendMessage("/block")


RE: Block... by genesistr on 09-16-2006 at 06:31 PM

thx :)