$encode » History » Revision 7
Revision 6 (Per Amundsen, 04/08/2016 10:59 AM) → Revision 7/21 (Per Amundsen, 12/23/2016 03:52 AM)
_Added in 1.9.0_ *$encode(text|&binvar, abmut, abhmut, N)* Encode text or &binvar using Uuencode, Mime or html codes. If encoding a &binvar, returns the actual number of characters written to the &binvar. Default is Uuencode. *Parameters* text|&binvar - The text or a &binvar to encode. abhmut - a = base32 encoding, b indicates a &binvar is specified, h = hmtl coded encoding, m = mine encoding, u = Uuencode (default), t = text (default). (h is AdiIRC only) N - TODO *Example* <pre> ; UUencode 'test'. //echo -ag $encode(test) ; UUencode 'test', then decode it. //echo -ag $decode($encode(test)) </pre>