Shoutbox

message blokker - 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: message blokker (/showthread.php?tid=68691)

message blokker by muffin on 11-20-2006 at 08:07 PM

hey im new here:P
and i signed in because i was trying to make a script that will blok the contacts message box so he can only call me
i actualy want it to block evryting exept the calling but i couldnt find that
so i started trying

this is the script:

code:
function OnEvent_Initialize(MessengerStart)
{
EditChangeAllowed;=false
}
function OnEvent_ChatWndCreated([object]ChatWnd);
{
[boolean] SendMessage([string] Je kan niet typen. Je kan alleen bellen);
}

so it first switches the message box of and then it sends a message
but it gives a syntax error
can anyone help?

RE: message blokker by segosa on 11-20-2006 at 08:09 PM

I suggest you learn how to program...


RE: message blokker by NanaFreak on 11-20-2006 at 08:10 PM

ok let me fix your code up...

code:
function OnEvent_Initialize(MessengerStart){
EditChangeAllowed=false; // you hat the whole syntax wrong here
}
function OnEvent_ChatWndCreated(ChatWnd){ // syntax wrong here too
ChatWnd.SendMessage("Je kan niet typen. Je kan alleen bellen"); // you again had the wrong syntax
}

i hope this helps you out
RE: message blokker by muffin on 11-20-2006 at 08:11 PM

whell im trying to so i need some help:S
and i couldnt find whats wrong in the manual

and anyway trying is the best way to learn:)


edit: oh thanx ill try it wright away

edit2:

quote:
Originally posted by NanaFreak
ok let me fix your code up...

code:
function OnEvent_Initialize(MessengerStart){
EditChangeAllowed=false; // you hat the whole syntax wrong here
}
function OnEvent_ChatWndCreated(ChatWnd){ // syntax wrong here too
ChatWnd.SendMessage("Je kan niet typen. Je kan alleen bellen"); // you again had the wrong syntax
}

i hope this helps you out

i still get an error it says im missing the wright rights or that its damadged
RE: message blokker by segosa on 11-20-2006 at 08:14 PM

muffin: instead of copy/pasting random parts of the manual without a bloody clue what you're doing, I suggest you actually learn the language.

NanaFreak: that won't do what he wants. I don't think it's possible to do what he wants.


RE: message blokker by NanaFreak on 11-20-2006 at 08:17 PM

quote:
Originally posted by segosa
NanaFreak: that won't do what he wants. I don't think it's possible to do what he wants.
i just fixed up the code... i didnt do what he wanted....
RE: message blokker by muffin on 11-20-2006 at 08:25 PM

it still doesnt work:(

i think the scripting commands of gamemaker
are worked out more easy*-)


RE: message blokker by NanaFreak on 11-20-2006 at 08:27 PM

can you please explain what you want done in English


RE: message blokker by muffin on 11-20-2006 at 08:31 PM

i just want to make a script that disables the message field so you cant type just like whenn youre blocked but that you can still call eachother
maybe i want to disable more but i can work from here(if its possible)


RE: message blokker by Spunky on 11-20-2006 at 08:54 PM

You can't edit THEIR typing box to disable it. The only way you could make it like that is by blocking them... You would then not be able to make calls, except for unblocking them. AFAIK, it's not possible


RE: message blokker by markee on 11-21-2006 at 02:41 AM

If you tried to activate a defective script (clicking the check box and pressing apply), I find I cannot run the script again an have a problem saying the the script is defective or I do not have the correct rights.  Even if I fix the script up and try again I get the same problem.  The only solution I have to this is to cut the text out of the script and paste it into a new script.