mIRC Home    About    Download    Register    News    Help

Print Thread
Getting mIRC to shut up #194135 30/01/08 02:57 AM
Joined: Aug 2007
Posts: 333
foshizzle Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Aug 2007
Posts: 333
is there a way to get mIRC to shut up if it cant find a command or whatever...
for some reason lately, if it cant find an alias, word... it keeps saying it until i turn mIRC off
and its really annoying frown
and btw, im on a laptop and ctrl+break doesnt do anything*


This is not the signature you are looking for
Re: Getting mIRC to shut up [Re: foshizzle] #194136 30/01/08 03:47 AM
Joined: Dec 2002
Posts: 503
B
Bekar Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Sounds like you've got a buggy script of some kind.

My mIRC will say an error once. It sounds more like you've got a while loop or a timer calling the bad command over and over again.

Re: Getting mIRC to shut up [Re: Bekar] #194144 30/01/08 03:57 PM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
I agree to some extend.

I once had a clone kick remote, but wanted to debug, so rather than using /kick, I replaced it with /msg # /kick to output what the result will do.

Big mistake on my part.

Because the while loop for when the user goes down, it never goes down.

So I had to /part the channel.

And display to me in my status window my output to the channel.

Turning off remotes didn't help.

Deleting the code from my remotes didn't help.

Ctrl Break'ing doesn't permanently stop it.

Only disconnecting from the network, then reconnecting, helped.

Unfortunately, disconnecting from the network did something that /remote off, deleting the script, and Ctrl Break didn't do - and I would like to know how to do that individually.

Basically, there doesn't seem to be a way to cancel a while loop except rebooting mIRC and never triggering that while loop again.

Re: Getting mIRC to shut up [Re: LostShadow] #194241 31/01/08 08:00 PM
Joined: Aug 2007
Posts: 333
foshizzle Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Aug 2007
Posts: 333
i know, its a while loop, or timer but its really annoying
and it eventually shuts up after about 100000 messages
and i like to keep my stuff neat(staus clear, etc..)


This is not the signature you are looking for
Re: Getting mIRC to shut up [Re: foshizzle] #194242 31/01/08 08:08 PM
Joined: Dec 2002
Posts: 503
B
Bekar Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
..

So you know what's causing the problem..

..

Yet you decide it's easier to bitch about the bad/mistaken coding, than to actually *FIX* the code?

..

I'm sorry, I'm having a bit of trouble understanding your logic here..

Re: Getting mIRC to shut up [Re: foshizzle] #194243 31/01/08 08:54 PM
Joined: Jul 2006
Posts: 3,574
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,574
I've already had this problem in the past, and recently, have it again, and now i know how to reproduce something like it smile
It can happen when you miss a } or { in your code, because mirc continue to run the script even if the number of { } are not the same and //alias can be executed but not as you want.I don't have time to make something to reproduce what i'm saying but i'll try later


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Getting mIRC to shut up [Re: foshizzle] #194251 31/01/08 10:17 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
why not just remove the while loop, or fix the problem ?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Getting mIRC to shut up [Re: sparta] #194253 31/01/08 11:16 PM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Originally Posted By: sparta
why not just remove the while loop, or fix the problem ?


Because that would be too intelligent. It would be too logical.

Originally Posted By: foshizzle
and it eventually shuts up after about 100000 messages


As far as I know - that never happens. For as long as electricity runs into your computer...

But since my status window goes up to 10,000 lines (and I have $line($active,0) lines in my titlebar), I possibly won't know that. But I know a bad accidental while loop after a night's sleep still continues the next morning.

-Neal.