From WikiChip
mirc/identifiers/$decode
< mirc‎ | identifiers
Revision as of 14:24, 1 July 2014 by Zmodem (talk | contribs) (Compatibility)

The $decode identifier allows you to decode literal text, or text in %vars - mIRC or &binvars - mIRC. The $decode identifier uses either Uuencode or [[Mime] to decode.

Synopsis

$decode(text/%var/&binvar,mubt)

Parameters

 %var/&binvar The target to be decoded
m Target should be decoded using Mime
u Target should be decoded using Uuencode (this is default decode type)
b Target is a &binvar
t Target is text (this is default target type)

Example

Echo to the active screen the following decoded text, using the Mime type:

//echo -a $decode(SGVsbG8gV2lraUNoaXAgdXNlciE=,m)

Compatibility

Added: mIRC v5.8

Added On: 05/09/2000

See Also