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
Joined:
Sep 2003
Posts: 149
S
Stealth
OP
Vogon poet
OP
Stealth
Vogon poet
S
Joined:
Sep 2003
Posts: 149
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?
mIRC 6.21 - Win XP Pro (SP2) - 2.4 Ghz - 1 GB Mem
irc.x-tab.org
Copy Link to Clipboard
Re: $compressed
#
58935
03/11/03
04:28 PM
Joined:
Dec 2002
Posts: 1,922
O
Online
Hoopy frood
Online
Hoopy frood
O
Joined:
Dec 2002
Posts: 1,922
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
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage