This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:sendmsg [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:sendmsg [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | <= [[4rpl: | ||
====== SendMsg ====== | ====== SendMsg ====== | ||
- | SendMsg(< | + | SendMsg(< |
===== Description ===== | ===== Description ===== | ||
- | Sends a message. A message can contain any ' | + | Sends a message. A message can contain any ' |
- | See [[REGISTERFORMSG]] for information on the callbacks. | + | See [[RegisterForMSG]] for more information on the callbacks.\\ |
+ | SendMSG is primarily intended for sending message between different scripts. | ||
===== Examples ===== | ===== Examples ===== | ||
Line 14: | Line 16: | ||
</ | </ | ||
+ | |||
+ | <code 4rpl> | ||
+ | #Connected to the example of RegisterForMsg | ||
+ | #If using this, must be put in a destroy-able unit | ||
+ | :Destroyed | ||
+ | SendMsg(" | ||
+ | </ | ||
+ | === See also === | ||
+ | |||
+ | * [[RegisterForMSG]] | ||
< | < | ||