Project

General

Profile

$decode » History » Revision 5

Revision 4 (Per Amundsen, 04/08/2016 10:59 AM) → Revision 5/20 (Per Amundsen, 12/23/2016 03:54 AM)

_Added in 1.9.0_ 

 *$decode(text|&binvar, bmut, bhmut, N)* 

 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. 

 *Parameters* 

 text|&binvar - The text or a &binvar to decode. 
 abhmut - a = base32 decoding, b indicates a &binvar is specified, h = hmtl coded decoding, m = mine decoding, u = Uuencode. (h is AdiIRC only) 
 N - TODO 

 <pre> 
 ; UUencode 'test'. 
 //echo -ag $encode(test) 

 ; UUencode 'test', then decode it. 
 //echo -ag $decode($encode(test)) 
 </pre>