mIRC Home    About    Download    Register    News    Help

Print Thread
#265240 22/03/19 12:24 AM
Joined: Mar 2004
Posts: 155
D
Darkmnm Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Mar 2004
Posts: 155
I am using UPP with mirc 7.55 and I am getting the following errors whenever I start I get the folowing error in my status window:

* Invalid parameters: $zip (line 1113, containers.mrc)

Below is the entire code for the error. The line in BOLD and red is the line 1113 from the error. Can someone tell me the correct code to resolve the error?

:zip | {
; $1 = zip, $?2 = alias
if ($hget(containers,$+($1,.status)) == inactive) {
hadd containers $+($1,.status) creating
hadd containers $+($1,.alias) $2
var %zipfile = $hget(containers,$+($1,.file))
ifsremove %zipfile
$null($zip(1,$quo(%zipfile),$quo($+($hget(containers,$+($1,.path)),*))))
.timerzipfile. $+ $1 -io 1 1 zipfile_check $1
}

return
}

Last edited by Darkmnm; 22/03/19 12:29 AM.
Darkmnm #265241 22/03/19 12:34 AM
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
Beginning v7.55, $zip is the name of a built-in identifier, and it doesn't like the syntax you're using, which appears to be related to an alias you've not pasted.

https://en.wikichip.org/wiki/mirc/identifiers/$zip

If you want that line to run an alias instead of the built-in identifier, change that line to contain $/zip or $.zip instead of $zip. If that doesn't help, you're asking about a problem with an alias you've not pasted.

maroon #265242 22/03/19 01:56 AM
Joined: Mar 2004
Posts: 155
D
Darkmnm Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Mar 2004
Posts: 155
Thank you. Making it $.zip appears that have cleared the error


Link Copied to Clipboard