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

m (bot: correcting title)
m
Line 1: Line 1:
 
{{mirc title|$& Identifier}}'''$&''' allows you to break up long, single script lines in order to make editing and reading them much easier.
 
{{mirc title|$& Identifier}}'''$&''' allows you to break up long, single script lines in order to make editing and reading them much easier.
 +
  
 
== Synopsis ==
 
== Synopsis ==
Line 32: Line 33:
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
[[Category:MIRC identifiers]]
+
[[Category:mIRC identifiers|$& identifier - mIRC]]

Revision as of 13:40, 20 September 2017

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