On DOWNLOAD » History » Version 1
Per Amundsen, 02/25/2016 12:18 PM
| 1 | 1 | Per Amundsen | _Added 2.3_ |
|---|---|---|---|
| 2 | |||
| 3 | *<notextile>on <level>:DOWNLOAD:name:<commands></notextile>* |
||
| 4 | |||
| 5 | Triggers when a download is finished. |
||
| 6 | |||
| 7 | _See also [[/download]], [[$download]], [[$downloaderr]]._ |
||
| 8 | |||
| 9 | *Parameters* |
||
| 10 | |||
| 11 | <level> - The level for the event to trigger. |
||
| 12 | <name> - The [[$download]] name to listen to. |
||
| 13 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
| 14 | |||
| 15 | *Example* |
||
| 16 | |||
| 17 | <pre> |
||
| 18 | ; Download the url 'https://adiirc.com/setup64.exe' to the file 'setup.exe'. |
||
| 19 | /download adiirc https://adiirc.com/setup64.exe setup.exe |
||
| 20 | |||
| 21 | on *:DOWNLOAD:adiirc:echo -ag Download of $download($download).file is complete. |
||
| 22 | </pre> |