Site Tools


decode
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


decode [2006/07/28 04:10] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $EPIC: decode.txt,v 1.2 2006/07/26 19:47:17 sthalik Exp $
 +======Synopsis:======
 +$__decode__(<text>)
 +
 +======Technical:======
 +   * If the <text> argument is omitted the empty string is returned.
 +   * The <text> argument must be text that was previously returned by the $[[encode]]() function.  All other inputs will yield undefined results.
 +   * This function returns the original <text> that was passed to the $[[encode]]() function.
 +   * Hardcoding $[[encode]]()d values into your script IS A BAD THING.  Please be aware that $[[encode]]() may change in the future and your script will break and IT WON'T BE MY FAULT.
 +
 +======Practical:======
 +See the [[encode]](6) help page for examples.
 +
 +======Returns:======
 +Given a string returned by [[encode]](), it returns the original arguments
 +to the [[encode]]() function.
 +
 +======Examples:======
 +<file>
 +$encode(hello there)               returns "GIGFGMGMGPCAHEGIGFHCGF"
 +$decode(GIGFGMGMGPCAHEGIGFHCGF)    returns "hello there"
 +$decode($encode(hello there))      returns "hello there"
 +</file>
 +
 +======History:======
 +This function first appeared in ircII-2.2pre8
  
decode.txt · Last modified: 2006/07/28 04:10 by 127.0.0.1