$filename » History » Version 2
Per Amundsen, 10/27/2015 09:20 PM
1 | 1 | Per Amundsen | _Added in 1.9.9_ |
---|---|---|---|
2 | |||
3 | *$filename* |
||
4 | |||
5 | Returns the filename that was transmitted during [[on FILESENT]], [[on FILERCVD]], [[on SENDFAIL]] or [[on GETFAIL]] [[Scripting_Events|event]]. |
||
6 | |||
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | 2 | Per Amundsen | on *:FILERCVD:*:echo -ag file recieved from $nick was $filename |
11 | 1 | Per Amundsen | |
12 | 2 | Per Amundsen | on *:FILESENT:*:echo -ag file sent to $nick was $filename |
13 | 1 | Per Amundsen | </pre> |