mythicaldeath
Historical / Guest
I'm trying to make a simple thing for my script, I want it to Ignore someone when they say a word that offends me for example porn, use that for example. the script would put the person on ignore and send a msg to chat saying something like you're now ignored {reason} this is what i have so far
on *:TEXT:*porn*:#:/msg $chan Type something
i asked someone else about it and they said
"you just need to make an auser command that sets them to ingore then have this code > on ^ignore:TEXT:*:#: { haltdef }"
mythicaldeath
Historical / Guest
I don't know how to make an auser for ignore. someone please help.. lol
X-Fusion
Historical / Guest
Why auser it? That's way to complicated
on *:TEXT:porn*:*:{
ignore -pcwu120 $address($nick,1)
msg $chan $nick is now ignored for saying the word porn. $nick is a very bad person!
}
Something like that, it's off the top of my head and you may have to tinker with it. The -p and -c switches are identifier types; where -p means private messages are ignored and -c means they're ignored in the channel. The -w switch means they're ignored on all networks, and the -u120 switch is the time to remove them, in seconds. You can remove either of the last two if you'd like.
mythicaldeath
Historical / Guest
that would go in remotes right?
X-Fusion
Historical / Guest
mythicaldeath
Historical / Guest
it works but theres a problem, It only works if the word is said alone and not in a sentence.
mythicaldeath
Historical / Guest
it also stops working after a few times.
X-Fusion
Historical / Guest
Well, I only made it pick up the word if it was by itself because you didn't say you wanted to pick it up in the sentence.
on *:TEXT:*porn*:*:{
ignore -pcw $address($nick,1)
msg $chan $nick is now ignored for saying the word porn. $nick is a very bad person!
}
I removed the timer aswell, as that was probably the source of it lifting the ignore.
Edited Nov 28, 2007 1:54 AM by X-Fusion
mythicaldeath
Historical / Guest
is there any way to change it so that when they go on ignore they stay on untill you remove it?
mythicaldeath
Historical / Guest
it's been like 5 mins and my passport is still on ignore lol..
X-Fusion
Historical / Guest
That's what I had the timer on there the first time for. It would remove the person after two minutes so they don't clutter your ignore list. In your script, where you type to chat, type //ignore -r, with two slashes.