From WikiChip
mirc/identifiers/$&
< mirc‎ | identifiers
Revision as of 19:35, 23 June 2014 by Zmodem (talk | contribs) (See Also)

$& 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