Halting Default Text and another question - 25/03/03 10:07 PM
Alright I've been able to do this before and its been awhile since I got my hands inside some scripting. So while my questions may seem stupid bare with me and maybe I'll be able to help you some day.
I'm wanting to do as the topic says. I want to halt the default text when I type something to say make my color always a different color (and various other things). In the example I've made my color red. And it works only the input isn't halting its giving both my red line of text and my default "normal" color text.
on 1:INPUT:#:/msg $chan 4 $1- | halt
I've also tried replacing halt with haltdef and I got the same result.
For the other question I've managed to halt the default join message and show the user joining the channel. But I want to also display their host mask too. So any help here is also appreciated.
Also I have a small bot that people flood sometimes. I'm wanting to cause a ontext event to stop responding to that user after he uses the command say three times. And if possible I just want to see an example of how I could make it kick the user instead of just ignoring them.
I'm wanting to do as the topic says. I want to halt the default text when I type something to say make my color always a different color (and various other things). In the example I've made my color red. And it works only the input isn't halting its giving both my red line of text and my default "normal" color text.
on 1:INPUT:#:/msg $chan 4 $1- | halt
I've also tried replacing halt with haltdef and I got the same result.
For the other question I've managed to halt the default join message and show the user joining the channel. But I want to also display their host mask too. So any help here is also appreciated.
Also I have a small bot that people flood sometimes. I'm wanting to cause a ontext event to stop responding to that user after he uses the command say three times. And if possible I just want to see an example of how I could make it kick the user instead of just ignoring them.