Liam's BitchX Command Reference
BitchX scripting function $decode()
- decode
- Function
- $decode()
- Notes
- $encode($decode(text)) returns "text"
$decode($encode(text)) returns "text" too.
Yes. $decode(plain-text) does compress the data by a factor of 2.
But it ignores non-ascii text, so use this as compression at your
own risk and peril.
- Usage
- $decode(text)
- Returns
- If <text> was generated with $encode(), it returns the string
you originally encoded. If it wasnt, you will probably get
nothing useful in particular.
- Example
- $decode(GGGFCAGGGJCAGGGPCAGGHFGN) returns "fe fi fo fum"