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

m (Bot: Adding a template (template:mIRC identifier list))
m (Bot: Fixing links)
Line 23: Line 23:
 
* [[On filesent - mIRC|ON FILESENT]]
 
* [[On filesent - mIRC|ON FILESENT]]
 
* [[On playend - mIRC|ON PLAYEND]]
 
* [[On playend - mIRC|ON PLAYEND]]
* [[/dcc command - mIRC|/dcc]]
+
* {{mIRC|/dcc}}
* [[/play command - mIRC|/play]]
+
* {{mIRC|/play}}
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
 
[[Category:MIRC identifiers]]
 
[[Category:MIRC identifiers]]

Revision as of 20:04, 5 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/06/96

See Also

[Expand]
v · d · e mIRC identifier list