From WikiChip
mirc/identifiers/$encode
< mirc‎ | identifiers
Revision as of 14:24, 1 July 2014 by Zmodem (talk | contribs) (Created page with "The '''$encode''' identifier allows you to ecnode literal text, or text in %vars - mIRC or &binvars - mIRC. The '''$encode''' identifier uses either Uuencode or ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Synopsis

$encode(text/%var/&binvar,mubt,N)

Parameters

 %var/&binvar The target to be encoded
m Target should be encoded using Mime
u Target should be encoded using Uuencode (this is default encode type)
b Target is a &binvar
t Target is text (this is default target type)
N Reference index for the Nth chunk in the output 60-character encoded chunk

Example

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

//echo -a $encode(Hello there! This will be encoded using Mime.,m)

Compatibility

Added: mIRC v5.8

Added On: 05/09/2000

See Also