$eventparms » History » Version 1
Per Amundsen, 02/14/2021 06:38 AM
| 1 | 1 | Per Amundsen | _Added in 4.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$eventparms* |
||
| 4 | |||
| 5 | Returns [[$1-]] in a consecutive spaced line for the initial event or command. |
||
| 6 | |||
| 7 | *Example* |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | ; Listen to a channel text event. |
||
| 11 | on *:TEXT:*:#:{ |
||
| 12 | /testparms hello world |
||
| 13 | } |
||
| 14 | |||
| 15 | alias testparms { |
||
| 16 | echo -ag parameters to this command is $parms $+ , parameters for the initial event is $eventparms |
||
| 17 | } |
||
| 18 | </pre> |