_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]]. *Example*
on *: FILERCVD:#:echo -ag file recieved from $nick was $filename

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