From WikiChip
Difference between revisions of "mirc/identifiers/$filename"
< mirc‎ | identifiers

m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +))
m (Bot: Fixing compatibility)
Line 15: Line 15:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v4.5
+
{{mIRC compatibility|4.5}}
  
 
== See Also ==
 
== See Also ==

Revision as of 03:22, 6 July 2014

The $filename identifier is filled when an event's trigger deals with a file, such as ON PLAYEND, ON FILERCVD, ON FILESENT, etc.

Synopsis

$filename

Properties

None

Examples

Echo the name of the filename, along with both the user's nickname and address if available, after a DCC Get has successfully finished:

ON *:FILERCVD:*:echo -a Received filename: $filename $iif($nick,from $nick - ,from) Address: $address

Echo the name of the file that finished playing to the active window:

ON *:PLAYEND:echo -a * $filename has just finished playing.

Compatibility

Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

[Expand]
v · d · e mIRC identifier list