quote:
Originally posted by deAd
Take off the < and >. Just send "/vc 30 10". Also note that the maximum length is 15 seconds, and only half of that clip will be sent.
This is a bug though. It is always best to first validate parameters before processing them. In this case check if the parameters are between x and y. If not, they are invalid. And if they are invalid, show a msgbox or something.
PS/Tip: And that doesn't even require fancy code or whatever. Since you can show the standard Plus! 'invalid parameter' messagebox with a small trick: if you have determined the parameters are invalid or even missing, just return the command "/me" in the OnEvent_ChatWndSendMessage function (or any other Plus! command which requires parameters) and you have a nice Plus! like (of course, it is Plus!
) and local translated messagebox.