Project

General

Profile

$filename » History » Version 4

Per Amundsen, 07/11/2019 06:27 PM

1 1 Per Amundsen
_Added in 1.9.9_
2
3
*$filename*
4
5 4 Per Amundsen
Returns the filename that was transmitted during [[on FILESENT]], [[on FILERCVD]], [[on SENDFAIL]] or [[on GETFAIL]] [[Scripting_Events|event]] or played during a [[on MP3END]], [[on MIDIEND]], [[on WAVEEND]], [[on SONGEND]], [[on PLAYEND]].
6 1 Per Amundsen
7
*Example*
8
9
<pre>
10 2 Per Amundsen
on *:FILERCVD:*:echo -ag file recieved from $nick was $filename
11 1 Per Amundsen
12
on *:FILESENT:*:echo -ag file sent to $nick was $filename
13 3 Per Amundsen
14
on *:MP3END:*:echo -ag last file played was $filename
15 1 Per Amundsen
</pre>