From WikiChip
Editing mirc/sendmessage
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 32: | Line 32: | ||
The following call to SendMessage() makes mIRC perform the commands that you specify: | The following call to SendMessage() makes mIRC perform the commands that you specify: | ||
− | |||
− | |||
SendMessage(mHwnd, WM_MCOMMAND, cMethod, cIndex) | SendMessage(mHwnd, WM_MCOMMAND, cMethod, cIndex) | ||
Line 40: | Line 38: | ||
* '''WM_MCOMMAND''' - Which should be defined as WM_USER + 200 | * '''WM_MCOMMAND''' - Which should be defined as WM_USER + 200 | ||
* '''cMethod''' - How mIRC should process the message, where: | * '''cMethod''' - How mIRC should process the message, where: | ||
− | ** 1 = As if typed in editbox (default) | + | ** 1 = As if typed in editbox (default) |
** 2 = As if typed in editbox, send as plain text | ** 2 = As if typed in editbox, send as plain text | ||
** 4 = Use flood protection if turned on, can be or'd with 1 or 2, and 8 | ** 4 = Use flood protection if turned on, can be or'd with 1 or 2, and 8 | ||
Line 94: | Line 92: | ||
1 alone means that a script error occured, 16 and 32 can only happen if you use $eventid in SendMessage() in the context of a remote event but the script from which it was called no longer exist. | 1 alone means that a script error occured, 16 and 32 can only happen if you use $eventid in SendMessage() in the context of a remote event but the script from which it was called no longer exist. | ||
− | + | QGWU0KX9792BBG0WXF www.google.com Where are you located ? I want to come to you one of these days | |
− | |||
− |