Confused by the documentation... bear with me. - 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: Confused by the documentation... bear with me. (/showthread.php?tid=86137) Confused by the documentation... bear with me. by citricsquid on 09-24-2008 at 07:51 PM
I've read through the documentation, but I can't find a clear example of what I want. code: But when I type "/TestCommand fhfhf" it says TestCommand doesn't exist? Have I broken it some how? I'm rather in a muddle. I have the script doing what I want, it's just setting it up so /script VARIABLE works. RE: Confused by the documentation... bear with me. by ShawnZ on 09-24-2008 at 08:01 PM
quote: actually, it doesn't look up ongetscriptcommands RE: RE: Confused by the documentation... bear with me. by citricsquid on 09-24-2008 at 08:10 PM
quote: arrr, okay, I'll check that out ty. I can't find anything about this in the documentation? Are you sure it's the correct function? RE: Confused by the documentation... bear with me. by roflmao456 on 09-24-2008 at 08:44 PM
quote:it is correct. Events Reference > Messenger Plus! Events > OnGetScriptCommands RE: Confused by the documentation... bear with me. by Jesus on 09-25-2008 at 12:01 AM
quote:Actually, that won't make the command work. It'll only make it show up in the list that appears when you type a / in the chat window. To make the command call a function you'll have to catch the command and its parameters in OnEvent_ChatWndSendMessage and make it call a function yourself. RE: Confused by the documentation... bear with me. by ShawnZ on 09-25-2008 at 02:16 AM yes, but the documentation for ongetscriptcommands refers you to chatwndsendmessage, whereas chatwndsendmessage doesn't refer you to ongetscriptcommands RE: Confused by the documentation... bear with me. by Volv on 09-25-2008 at 02:22 AM But if ongetscriptcommands in itself answers no part of the original post then why not direct them straight to chatwndsendmessage? |