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

(Paramters)
m
Line 1: Line 1:
 
+
{{mirc title|$nopath identifier}}'''$nopath(path)''' returns filename without a path if it has one.
 
 
{{mirc title|$nopath Identifier}}'''$nopath(path)''' Returns filename without a path if it has one.
 
  
 
== Synopsis ==
 
== Synopsis ==
<source lang="mIRC">
+
<source lang="mIRC">$nopath(filename)</source>
$nopath(path)</source>
 
  
== Paramters ==
+
== Parameters ==
  
'''Path''' = the filename you want the path of
+
'''filename''' = the filename you want the path of
  
 
== Properties ==
 
== Properties ==
 
 
None
 
None
  
Line 24: Line 20:
  
 
== See Also ==
 
== See Also ==
[[Category:MIRC identifiers]]
 
 
* {{mIRC|$mircdir}}
 
* {{mIRC|$mircdir}}
 
* {{mIRC|$nofile}}
 
* {{mIRC|$nofile}}
 +
[[Category:mIRC identifiers|nopath]]

Revision as of 17:26, 21 September 2017

$nopath(path) returns filename without a path if it has one.

Synopsis

$nopath(filename)

Parameters

filename = the filename you want the path of

Properties

None

Example

//echo -a $nopath($mircexe)

It will return the "mirc.exe" filename without the "path" direction into it.

Compatibility

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


See Also