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

(Created page with "{{mirc title|$eval Identifier}}'''$eval''' allows you to dynamically evaluate a line of code N times. == Synopsis == <pre>$eval(text,N)</pre> == Paramters == * '''text'''...")
 
(See Also)
Line 20: Line 20:
  
 
== See Also ==
 
== See Also ==
{{mIRC|$eval}}
+
{{mIRC|$evalnext}}
  
  
  
 
[[Category:MIRC identifiers]]
 
[[Category:MIRC identifiers]]

Revision as of 16:14, 20 September 2017

$eval allows you to dynamically evaluate a line of code N times.


Synopsis

$eval(text,N)

Paramters

  • text - The text you want to double evaluate.
  • N - The number of time you want to evaluate something, if N = 0, the text is not evaluated,

Properties

None

Example

//var %prefix_ $+ $me value | echo -a $eval($+(%,prefix_,$me),2)

Compatibility

Added: mIRC v2.1a
Added on: 28 Feb 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

$evalnext