Difference between revisions of "ISUplink:Relay (Command)"
Jump to navigation
Jump to search
(→Syntax) |
|||
Line 12: | Line 12: | ||
*Relay all -echo "Hi" | *Relay all -echo "Hi" | ||
*Relay "all local" -echo "Hi" | *Relay "all local" -echo "Hi" | ||
+ | : Relaying events | ||
+ | *(from script) Relay all -event EVENT_NAME Param1 | ||
+ | *(from uplink) Uplink Relay all -event EVENT_NAME Param1 | ||
== See Also == | == See Also == |
Revision as of 20:27, 9 August 2007
Contents
Syntax
relay <uplink name|session name|all|all local> [-echo|-event <name>|-noredirect] <message|command>
Description
Relays a command to a given session. This is asynchronous -- the command is not guaranteed to have executed in the given session by the time this command completes. If "all" is used, the command is broadcast to all sessions (including remote). If "all local" is used, the command is broadcast to all local sessions.
Examples
- Relay is1 "Press 1"
- From the uplink
- Uplink Relay is1 "Press Alt+F1"
- From a session
- Relay all -echo "Hi"
- Relay "all local" -echo "Hi"
- Relaying events
- (from script) Relay all -event EVENT_NAME Param1
- (from uplink) Uplink Relay all -event EVENT_NAME Param1