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

m
m (Parameters)
Line 7: Line 7:
 
{{ArgsList
 
{{ArgsList
 
| %var/&binvar | The target to be decoded
 
| %var/&binvar | The target to be decoded
| m | Target should be decoded using [[Mime]]
+
| m | Target should be decoded using [[Base64|MIME]]
 
| u | Target should be decoded using [[Uuencode]] (this is default decode type)
 
| u | Target should be decoded using [[Uuencode]] (this is default decode type)
| b | Target is a [[&binvar - mIRC|&binvar]]
+
| b | Target is a {{mIRC|Binary variables|&binvar}}
 
| t | Target is text (this is default target type)
 
| t | Target is text (this is default target type)
 
}}
 
}}

Revision as of 18:04, 12 July 2014

The $decode identifier allows you to decode literal text, or text in %vars or &binvars. 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 Sep 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

[Expand]
v · d · e mIRC identifier list