$! » History » Version 2
Paul Janson, 03/26/2021 12:05 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$!* |
||
| 4 | |||
| 5 | 2 | Paul Janson | Can be used to delay evaluating a identifier, useful in commands such as [[/timer]]. |
| 6 | 1 | Per Amundsen | |
| 7 | Each evaluation will remove a '!' prefix. |
||
| 8 | |||
| 9 | *Example* |
||
| 10 | |||
| 11 | <pre> |
||
| 12 | ; Evaluate to $me instead of nick. |
||
| 13 | //echo -ag $eval($!me) vs $eval($me) |
||
| 14 | |||
| 15 | ; Evaluate to $!me instead of $!me. |
||
| 16 | //echo -ag $eval($!!me) vs $eval($!me) vs $eval($me) |
||
| 17 | 2 | Paul Janson | |
| 18 | //timer 5 1 echo -a this always show the time at timer launch $asctime |
||
| 19 | //timer 5 1 echo -a this always show the new time at each timer execution $!asctime |
||
| 20 | </pre> |