mIRC Home    About    Download    Register    News    Help

Topic Options
#265240 - 22/03/19 12:24 AM Need code help
Darkmnm Offline
Vogon poet

Registered: 09/03/04
Posts: 135
Loc: California, USA
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
}


Edited by Darkmnm (22/03/19 12:29 AM)

Top
#265241 - 22/03/19 12:34 AM Re: Need code help [Re: Darkmnm]
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 1151
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.

Top
#265242 - 22/03/19 01:56 AM Re: Need code help [Re: maroon]
Darkmnm Offline
Vogon poet

Registered: 09/03/04
Posts: 135
Loc: California, USA
Thank you. Making it $.zip appears that have cleared the error

Top