Project

General

Profile

$filename » History » Revision 3

Revision 2 (Per Amundsen, 10/27/2015 09:20 PM) → Revision 3/5 (Per Amundsen, 07/09/2016 02:53 PM)

_Added in 1.9.9_ 

 *$filename* 

 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]]. [[Scripting_Events|event]]. 

 *Example* 

 <pre> 
 on *:FILERCVD:*:echo -ag file recieved from $nick was $filename 

 on *:FILESENT:*:echo -ag file sent to $nick was $filename 

 on *:MP3END:*:echo -ag last file played was $filename 
 </pre>