Skip to content
General Chat Talk

Script Help ( Oa Chat )

A TG007 community discussion started by mythicaldeath.

Discussion 13 posts
Page 1 of 1
Open
Topic #9242 · 13 published posts · 3,004 views

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 }"

I don't know how to make an auser for ignore. someone please help.. lol

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.

that would go in remotes right?

Yep.

it works but theres a problem, It only works if the word is said alone and not in a sentence.

it also stops working after a few times.

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

is there any way to change it so that when they go on ignore they stay on untill you remove it?

it's been like 5 mins and my passport is still on ignore lol..

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.

If this is Oasiz chat, they have a mode called gagged which allows you to put the person on ignore and they can't tell if they are or not.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

Gag means tha no-one in the chatroom can see msgs from the gagged person untill the usermode is removed again - or till they d/c and reconnect, its not an individual ignore. I guess its more like being spec'd but not knowing it!