Home
About
Download
Register
News
Help
Register
Log In
Forums
Feature Suggestions
$compressed
Forums
Active Threads
Search
Who's Online
Help
Print Thread
$compressed
#
58934
03/11/03
03:42 AM
S
Stealth
Stealth
S
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?
Copy Link to Clipboard
Re: $compressed
#
58935
03/11/03
04:28 PM
Joined:
Dec 2002
Posts: 1,893
O
Online
Hoopy frood
Online
Hoopy frood
O
Joined:
Dec 2002
Posts: 1,893
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 }
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage