Difference between revisions of "ISUplink:Relay (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
== Examples ==
 
== Examples ==
 
*Relay is1 "Press 1"
 
*Relay is1 "Press 1"
 +
: From the uplink
 
*Uplink Relay is1 "Press Alt+F1"
 
*Uplink Relay is1 "Press Alt+F1"
 +
: From a session
 
*Relay all "echo Hi"
 
*Relay all "echo Hi"
 
*Relay "all local" "echo Hi"
 
*Relay "all local" "echo Hi"

Revision as of 15:53, 22 February 2006

Syntax

relay <name|all|all local> <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"

See Also