Project

General

Profile

$filename » History » Revision 4

Revision 3 (Per Amundsen, 07/09/2016 02:53 PM) → Revision 4/5 (Per Amundsen, 07/11/2019 06:27 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]], [[on PLAYEND]]. SONGEND]]. 

 *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>