mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 1
D
dj_mix Offline OP
Mostly harmless
OP Offline
Mostly harmless
D
Joined: Jul 2006
Posts: 1
I'm trying to run my old script that works fine in mirc 5.3
but will not work in 6.14 . It has something to do with $parms

here's some of the script

on +1:text:*~*:?: {
write D:\temp\ver.txt |§| $remove($adate,106) $+ 06 |§| $remove($parms,$chr(126)) < $nick > $time
set %add $remove($parms,$chr(126))
if $parm2 == 123.123.12.12.1 {
/msg $nick Sorry LOCAL IP NOT ACCEPTED !
/ignore -u86400 $nick 3
goto done

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
First off, this should've been in the Scripts & Pop-ups Forum.
Secondly, I regret to say that I can't assist with this problem as I'm unable to find any reference to the $parms identifier, and I'm unable to locate a copy of mIRC 5.3 to check it's help file for what the $parms identifier returns.

I'd also recommend that you update to the most recent version, which is 6.17

Joined: Jul 2004
Posts: 31
H
Ameglian cow
Offline
Ameglian cow
H
Joined: Jul 2004
Posts: 31
$parms is probably $1- and $parm2 is $2

Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
yeah, $parm etc was the older method that was phased out a while ago. I think that even went out before *1 did. Use $1 as instructed and it should work fine


Those who fail history are doomed to repeat it

Link Copied to Clipboard