mIRC Home    About    Download    Register    News    Help

Print Thread
#194135 30/01/08 02:57 AM
Joined: Aug 2007
Posts: 334
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Aug 2007
Posts: 334
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
Joined: Dec 2002
Posts: 503
B
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.

Joined: Jan 2004
Posts: 509
L
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.

Joined: Aug 2007
Posts: 334
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Aug 2007
Posts: 334
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
Joined: Dec 2002
Posts: 503
B
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..

Joined: Jul 2006
Posts: 4,144
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,144
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


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Feb 2003
Posts: 3,432
S
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,.) }
Joined: Jan 2004
Posts: 509
L
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.


Link Copied to Clipboard