![]() |
![]() |
rebind Rebinds a command sequence to a specified window |
|||
Usage |
|||
rebind [-q] <window_id:string> |
|||
Description |
|||
Rebinds the current command sequence to the window specified by <window_id>. The new window will be inherited by all the subcommands and aliases called. -q causes the command to run quietly. Handle with care. |
|||
Switches |
|||
|
|||
Examples |
|||
# Try this example in a channel or query window
# Remember the current window ID %winid = $window # Rebind to the console of the current IRC context rebind $console echo "Hello from the console :)" echo "Hello again.. still in the console" # Rebind back rebind %winid echo "Again in this window :)"
|