mIRC Home    About    Download    Register    News    Help

Print Thread
#3852 29/12/02 12:40 AM
Joined: Dec 2002
Posts: 20
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 20
Okay ... here is my script. I track all Joins, Parts, and Quits to my channel...the JOIN part works....the PART option and the !WHO works....but the QUIT section returns a * /writeini: insufficient parameters error. Any ideas?...

NOTE: When a user does a !who they get only the last 6 log entries.

Quote:

on 1:JOIN:#:{
/write -ill login.txt $nick joined on $fulldate
/msg $chan $nick $+ , $read(greet.txt)
/msg $nick $nick $+ , $read(greet.txt)
/msg $nick For more information on the services that we offer, visit our web site at http://www.tnrcomm.com
/msg $nick or, go to our message boards at http://www.tnrcomm.com/forums
}
on 1:PART:#:{
/write -ill login.txt $nick left on $fulldate
}
on 1:QUIT:{
/write -ill login.txt $nick quit on $fulldate
}
on *:TEXT:!who:#:{
/msg $nick $me has seen...
/msg $nick $read(login.txt,6)
/msg $nick $read(login.txt,5)
/msg $nick $read(login.txt,4)
/msg $nick $read(login.txt,3)
/msg $nick $read(login.txt,2)
/msg $nick $read(login.txt,1)
}


Thanks for your help!



Scott Roberts
T&R Communications of Florida
sroberts@tnrcomm.com
Joined: Dec 2002
Posts: 25
K
Ameglian cow
Offline
Ameglian cow
K
Joined: Dec 2002
Posts: 25
Try this..

Code:
on *:QUIT:#:{
/write -ill login.txt $nick quit on $fulldate 
}

Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
I don't think that's the problem. The last time I checked, On QUIT is not an event that is channel specific.

Dana


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
Are you sure that it's the On QUIT event that's generating the problem? After all, you don't have a "/writeini" command in your On QUIT event.


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
Joined: Dec 2002
Posts: 20
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 20
Thanks for the tip. After checking, I found out that it was actually another script. I fixed the problem and no longer get the error.

Thanks again!


Scott Roberts
T&R Communications of Florida
sroberts@tnrcomm.com

Link Copied to Clipboard