From WikiChip
$show identifier - mIRC
< mirc‎ | identifiers

$show returns $true if the alias is called silently with the dot '.' prefix, $false otherwise.

Note: custom aliases called inside a silenced custom alias will be silenced as well with no way to make them non silenced, see second example

Synopsis[edit]

$show

Parameters[edit]

None

Properties[edit]

None

Example[edit]

1.

alias test {
  echo -a test $1- $ $+ show== $+ $show
}
alias script_test {
  test Called from a script without a dot:
  .test Called from a script with a dot:
}

Type /script_test

2.

alias test {
  echo -ag test show $show
  test1
}
alias test1 {
echo -ag test1 show $show
}

Type /test vs. /.test, notice how /test1 will say that $show is $false when you use /.test, despite the /test1 call not being silenced inside the alias test.


Compatibility[edit]

Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

[Expand]
v · d · e mIRC identifier list