To send a message first you have to create a command:
XXXXXXXXXXXXXXXXXXX = need to be replaced by your private or alias key
Now you can call the command
in a rule
. Note that the call uses ${param}
to pass the message text from the rule.
rule "System start" when eval(true) then execute.command("Pushsafer.Post", "System start"); end