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

(Created $& identifier - mIRC)
 
(See Also)
Line 32: Line 32:
 
== See Also ==
 
== See Also ==
 
[[List of identifiers - mIRC|mIRC Identifiers]]
 
[[List of identifiers - mIRC|mIRC Identifiers]]
 +
 +
[[Category:mIRC identifiers]]

Revision as of 19:35, 23 June 2014

$& allows you to break up long, single script lines in order to make editing and reading them much easier.

Synopsis

$&

Parameters

None

Examples

An alias that breaks up a long echo into multiple lines

alias testit {
  echo -a This is a really long $&
    line that is broken up because $&
    mIRC supports it! The cool thing is $&
    that mIRC will also format these $&
    indentations within the script editor!
}

Create an alias that has a code block similar to a programming language

alias testit {
  if ($me isin $+(Hello, $me,! How are you?)) $&
    {
    echo -a This code block resembles some popular programming languages.
  }
}

Compatibility

Added: mIRC v5.5

Added On: 08/01/99

See Also

mIRC Identifiers