From WikiChip
Difference between revisions of "mirc/identifiers/$filename"
m (Bot: Adding a template (template:mIRC identifier list)) |
m |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | The '''$filename''' identifier is filled when an event's trigger deals with a file, such as [[On playend - mIRC|ON PLAYEND]], [[On filercvd - mIRC|ON FILERCVD]], [[On filesent - mIRC|ON FILESENT]], etc. | + | {{mirc title|$filename Identifier}}The '''$filename''' identifier is filled when an event's trigger deals with a file, such as [[On playend - mIRC|ON PLAYEND]], [[On filercvd - mIRC|ON FILERCVD]], [[On filesent - mIRC|ON FILESENT]], etc. |
+ | |||
== Synopsis == | == Synopsis == | ||
Line 15: | Line 16: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|4.5}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
Line 23: | Line 22: | ||
* [[On filesent - mIRC|ON FILESENT]] | * [[On filesent - mIRC|ON FILESENT]] | ||
* [[On playend - mIRC|ON PLAYEND]] | * [[On playend - mIRC|ON PLAYEND]] | ||
− | * | + | * {{mIRC|/dcc}} |
− | * | + | * {{mIRC|/play}} |
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|filename]] |
Latest revision as of 14:12, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The $filename identifier is filled when an event's trigger deals with a file, such as ON PLAYEND, ON FILERCVD, ON FILESENT, etc.
Synopsis[edit]
$filename
Properties[edit]
None
Examples[edit]
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[edit]
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[edit]
mIRC identifier list