Shoutbox

Quicktext Parameters - 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: Quicktext Parameters (/showthread.php?tid=62238)

Quicktext Parameters by noroom on 07-01-2006 at 12:32 PM

In MP!3 you could define quicktexts with parameters, and then use the parameters with the (!P) tag.

I've made a script, and when I define the ScriptCommands (OnGetScriptCommands), I know I can add parameters, because there's a "<Parameters>" tag. When used, MP!L automatically puts the text that's between the "<Parameters></Parameters>" tags as a parameter for the script command. But when I try to send it, it says that the command is not recognized.

How can I get back to using parameters?


RE: Quicktext Parameters by RaceProUK on 07-01-2006 at 01:58 PM

I believe it's a limitation of the current quicktext feature.


RE: Quicktext Parameters by noroom on 07-01-2006 at 05:58 PM

But they're not quicktexts. They're script commands... :undecided:


RE: Quicktext Parameters by -dt- on 07-01-2006 at 06:07 PM

quote:
Originally posted by noroom
But they're not quicktexts. They're script commands... :undecided:

in your OnEvent_ChatWndSendMessage function if you dont return a string (even a empty one) it will display that message
RE: Quicktext Parameters by noroom on 07-01-2006 at 07:40 PM

Oh! I see now. I thought if I didn't code a feature to parse the parameters, that the parameters would just be ignored, but it turns out that you have to have code that handles the parameters before Plus! allows you to use parameters in the script commands.

Thanks :)