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

m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +))
m (Bot: Fixing compatibility)
Line 26: Line 26:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v5.5
+
{{mIRC compatibility|5.5}}
  
 
== See Also ==
 
== See Also ==

Revision as of 03:15, 6 July 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 Jan 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

mIRC Identifiers

[Expand]
v · d · e mIRC identifier list