mIRC Home    About    Download    Register    News    Help

Print Thread
#205624 27/10/08 05:51 AM
Joined: May 2008
Posts: 127
J
Vogon poet
OP Offline
Vogon poet
J
Joined: May 2008
Posts: 127
Why doesn't this work?

http://mirc.lvrcr.com/87

Well, it works, but if there's a log that's 1000 lines long and someone decides they want to stop it, the script tells them there is no log currently being displayed even though there is. Any ideas?

Joined: May 2008
Posts: 127
J
Vogon poet
OP Offline
Vogon poet
J
Joined: May 2008
Posts: 127
Ah, wait... set %showlog 0 smirk

EDIT: Nevermind. Changing that doesn't fix the problem. frown

Last edited by Joe_Dean; 27/10/08 06:05 AM.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Rather than referencing a variable, to see if a log is being played or not, I suggest you use the $play identifier.

Joined: May 2008
Posts: 127
J
Vogon poet
OP Offline
Vogon poet
J
Joined: May 2008
Posts: 127
Nice, works perfectly. Thanks Russel. smile


Link Copied to Clipboard