mIRC Homepage
Posted By: pouncer raw problem - 09/10/06 06:44 PM
elseif ($2 == 822) {
blah blah blah
halt
}

but because i halt that it stops the

raw 822 { } working too

how can i stop this?
Posted By: genius_at_work Re: raw problem - 09/10/06 07:18 PM
Change:

halt

to:

;halt


-genius_at_work
Posted By: Lpfix5 Re: raw problem - 09/10/06 07:51 PM
lol why had ; to halt when you can remove it all togheter its the same thing ;halt makes it a note rather then a command.
Posted By: pouncer Re: raw problem - 09/10/06 08:17 PM
ok sorry its not as straightforward as that.

i use the 'halt' in the sockread to stop the default echos in the status..

i want to stop the default echos AND have the raws work too
Posted By: RusselB Re: raw problem - 09/10/06 08:40 PM
Sounds like you need to start splitting the code into multiple scripts.
That way the halt command will halt the script that it's in, but the second script (with the raws) would still process.
Posted By: genius_at_work Re: raw problem - 09/10/06 09:49 PM
So the snippet you posted is in a socket (sockread) event?

If so, there is no way that it is interfering with the raw ### events. When using sockets, the only events that trigger are the socket events. RAW/on TEXT/NOTICE/etc don't ever trigger.

-genius_at_work
Posted By: pouncer Re: raw problem - 09/10/06 10:44 PM
yes but when i remove the 'halt' from the sockread

then the raws work...

but i also see the echo in the status like

User away
© mIRC Discussion Forums