Project

General

Profile

$decode » History » Revision 18

Revision 17 (Per Amundsen, 08/03/2021 07:12 PM) → Revision 18/20 (Per Amundsen, 06/14/2022 07:55 AM)

_Added in 1.9.0_ 

 *$decode(text|&binvar, abmuthxr)* 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, r = url encoding, m = mine encoding, u = Uuencode (default), t = text (default), x = hex decode. *(h,x *(h and r x is AdiIRC 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*