Difference between revisions of "$isalias"
From Scriptwiki
m |
m |
||
Line 2: | Line 2: | ||
$isalias(name) | $isalias(name) | ||
===Properties=== | ===Properties=== | ||
− | * fname - returns the filename in which the alias exists | + | * '''fname''' - returns the filename in which the alias exists |
− | * alias - returns the alias definition | + | * '''alias''' - returns the alias definition |
==Example== | ==Example== | ||
$isalias(join) returns $true if you have an alias for /join | $isalias(join) returns $true if you have an alias for /join |
Revision as of 18:46, 8 April 2008
Returns $true if the specified name is an alias command that exists in your aliases or scripts.
$isalias(name)
Properties
- fname - returns the filename in which the alias exists
- alias - returns the alias definition
Example
$isalias(join) returns $true if you have an alias for /join
$isalias(join).fname returns the filename in which the alias exists
$isalias(join).alias returns the alias definition for /join