mIRC Homepage
Posted By: Stealth $compressed - 03/11/03 03:42 AM
I would like to see a $compressed which returns $true or $false dependint on if the file was compressed with $compress.

Like if i use $compress(file.txt), $compressed(file.txt) would return $true.

For now, is there a way to script this?
Posted By: Online Re: $compressed - 03/11/03 04:28 PM
It looks like compressed files can be identified by two opening chars, 120 and 156. A scripted alias would be looking like:
  • alias compressed bread $+(",$1,") 0 2 &x | if $bvar(&x,1-) == 120 156 { return $true }
© mIRC Discussion Forums