$decode » History » Revision 15
Revision 14 (Per Amundsen, 04/06/2019 12:41 AM) → Revision 15/20 (Per Amundsen, 12/13/2019 09:14 PM)
_Added in 1.9.0_ *$decode(text|&binvar, abmuthx)* Decodes text or &binvar using Uuencode, Mime or html codes. If decoding a &binvar, returns the actual number of characters written to the &binvar. Default is Uuencode. _See also [[$encode]]._ *Parameters* text|&binvar - The text or a &binvar to decode. abmuth - a = base32 encoding, b indicates a &binvar is specified, h = html coded encoding, m = mine encoding, u = Uuencode (default), t = text (default), h = hex decode. *(h (h and x is AdiIRC only)* only) <pre> ; UUencode 'test'. //echo -ag $encode(test) ; UUencode 'test', then decode it. //echo -ag $decode($encode(test)) </pre> ------------------------- *$decode(%var | &binvar, switches, key, [salt | iv])* TODO