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

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
Relay <name> <command>
+
Relay <name|all|all local> <command>
  
 
== Description ==
 
== 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.
+
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 ==
 
== Examples ==
 
*Relay is1 "Press 1"
 
*Relay is1 "Press 1"
 
*Uplink Relay is1 "Press Alt+F1"
 
*Uplink Relay is1 "Press Alt+F1"
 +
*Relay all "echo Hi"
 +
*Relay "all local" "echo Hi"
  
 
== See Also ==
 
== See Also ==

Revision as of 04:40, 28 June 2005

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"
  • Uplink Relay is1 "Press Alt+F1"
  • Relay all "echo Hi"
  • Relay "all local" "echo Hi"

See Also