Skip to content
General Chat Talk

Auto-banned

A TG007 community discussion started by Johnson.

Discussion 16 posts
Page 1 of 1
Open
Topic #8759 · 16 published posts · 2,871 views

ok I was given this code to stop peeps darting in and out of my chat room wiv out saying a word and it works fine .. my question is, that it puts them in deny in the access dialog and I have to clear denies as it seems to be an Indefinite ban ... can anyone help me and change the time limit on the ban .. also as many of you know Im not a scripter but trying to learn .. and I havent got a clue wot the ban limit is ... one more question lolol :D if someone is banned with a limit e.g. say 15mins and that time is up will it still show in the access dialog and will I have to clear it.. sz if I dont ask these questions how am I going to learn :P

 

 on *:JOIN:#: {
  if ($nick($chan,$me,ohaq)) {
    .auser joinchan $nick
    set %j. $+ $chan $chan
    .timer 1 3 .ruser $nick
    set %join. $+ $nick $calc(%join. [ $+ [ $nick ] ])
    .timer 1 60 unset %join. [ $+ [ $nick ] ]
  }
}
on joinchan:PART:#: {
  if ($nick($chan,$me,ohaq)) {
    if (%j. [ $+ [ $chan ] ]) {
      mode $chan +bb $address($nick,2) $nick
      .ruser $nick
      unset %chantime
      msg $chan auto-bannned $nick for Join/Part in under three seconds

you could maybe use the /ban command instead with a -uSECONDS switch so it works abit like a auto-expiring var, like um :

 

/ban -u300 # $address($nick,2)

 

that should make the script automaticaly delete the ban in 5 mins.

 

And good luck with a room were you ban ppl for poping in and then back out too fast .. ppl are nosey many will pop in an out a few times before you even get them to talk:) but as they say different horses for different courses ...

Edited Aug 2, 2007 1:07 AM by Chief
And good luck with a room were you ban ppl for poping in and then back out too fast .. ppl are nosey many will pop in an out a few times before you even get them to talk:) but as they say different horses for different courses

 

I dont want to ban them for EVER lol just to let them know its not polite to dart in and out of rooms wiv out saying something to the best host in chat lol :D

 

I know what your saying but lol im old school and in my eyes and a few other chat rooms have sed the same it takes nothing to say a Hi and a Goodbye :D

 

The other thing I would like to say Chief is thankyou for your reply and your help .. now plz mate where do I put that code you gave me :P

Edited Aug 2, 2007 1:26 AM by Lynx
where do I put that code you gave me :P

 

mode $chan +bb $address($nick,2) $nick <-- replace this

/ban -u300 # $address($nick,2) <-- with this

 

 

mode $chan +bb $address($nick,2) $nick

This code will ban user from channel...and user cannot join the room unless u clear access. 2nd ban wont show in access dialog although u have cleared it. im using same code in revenge protection ..n i have to clear access to remove ban for kicked person.

 

but if u want set any time limit here goes your required ban...

 

/access $chan add deny $nick 15 | /access $chan add deny $address($nick,1) 15 | /kick # $nick | /msg $chan auto-bannned $nick for Join/Part in under three seconds

 

This will ban user for 15 minuts ...u can just increas ban time limit,

 

As u say...

where do I put that code you gave me

 

If you still dont understand how to use and where to post these code ,Just replace these code with the codes you already have ...

on *:JOIN:#: {
  if ($nick($chan,$me,ohaq)) {
    .auser joinchan $nick
    set %j. $+ $chan $chan
    .timer 1 3 .ruser $nick
    set %join. $+ $nick $calc(%join. [ $+ [ $nick ] ])
    .timer 1 60 unset %join. [ $+ [ $nick ] ]
  }
}
on joinchan:PART:#: {
  if ($nick($chan,$me,ohaq)) {
    if (%j. [ $+ [ $chan ] ]) {
      access $chan add deny $nick 15 | /access $chan add deny $address($nick,1) 15 | /kick # $nick 
      .ruser $nick
      unset %chantime
      msg $chan auto-bannned $nick for Join/Part in under three seconds

:lmaojump:general Thankyou very much iv tested it and it works a treat :D .. iv also put just a five min ban on the $nick .. thanks again

My pleasure....

although it works ...but by mistake i added an extra line in it which has no function ....i thought u need code for banning such user who do not talk in room lolz...

Lemme remove kick code you only need to add deny access for user who left room without typing any word.....

on *:JOIN:#: {
  if ($nick($chan,$me,ohaq)) {
    .auser joinchan $nick
    set %j. $+ $chan $chan
    .timer 1 3 .ruser $nick
    set %join. $+ $nick $calc(%join. [ $+ [ $nick ] ])
    .timer 1 60 unset %join. [ $+ [ $nick ] ]
  }
}
on joinchan:PART:#: {
  if ($nick($chan,$me,ohaq)) {
    if (%j. [ $+ [ $chan ] ]) {
      access $chan add deny $nick 15 | /access $chan add deny $address($nick,1) 15 
      .ruser $nick
      unset %chantime
      msg $chan auto-bannned $nick for Join/Part in under three seconds

:lmaojump: general .. I must be getting better .. I spotted that and took it out .. thanks again :D

Hmm .. you were using mode bans not /access if i knew your chat had both i would have just suggested /access :P mode +b is usualy ircd and they dont have /access unless specificaly modded in. .. well now you have two ways! :)

Edited Aug 2, 2007 11:37 AM by Chief

Mode b is pure IRCx as well. VSIXc has both.

Well Mode +b is working at SCN chat server ...and im using this code in my revenge and de-own protection...though very few pple know about it at SCN but atleast it works cool.

Lynx bro, you may want to reconsider banning as a means to keep people out. If you have an open chat room and ban people for coming in, I do believe that's a violation of many chat nets TOS and COC. Like was mentioned earlier in this thread, people are curious, and maybe they want to pop in and see things. Many first time chatters are weary and shy, and may not know what or how to interact yet. Banning is really not how you want a n00b to remember your room... <_<

 

Lynx bro, you may want to reconsider banning as a means to keep people out. If you have an open chat room and ban people for coming in, I do believe that's a violation of many chat nets TOS and COC. Like was mentioned earlier in this thread, people are curious, and maybe they want to pop in and see things. Many first time chatters are weary and shy, and may not know what or how to interact yet. Banning is really not how you want a n00b to remember your room... <_<

 

 

:lmaojump: I seat at my pc sometimes for hours and to have n00b's your words not mind lol just pop there head round the door and dont say a word .. Wiley E it take's a few mins look at the greeting you get from my script .. even you would laugh ... in my eye's it is impolite .. it's has I have sed before it doesnt take a min to say a Hi and a Goodbye ... I dont enter a room and say nothing lolol though some room's wish I had :P So that is why that ban is in place sz if you think that way I want chatters not n00b's in my room .. your words lol not mind. :P

Edited Aug 4, 2007 3:51 PM by Lynx

LOL

Yep, they are my words...I see the point you are making, and yeah there are those lurkers that just roam from room to room not saying a word. I can understand your frustration as well. What I am trying to convey is that not all of the people that come in a room and say nothing are just trying to spy or irritate owners or members. They may be porn bot runners that are scoping your room for potential 'clients', but, they may also just be new comers. Do any of the regs to your room say hi to the silent ones? If so do they get a reply? Try using a bot/script detector to see if maybe the peepers are bots. I just don't think banning is the most effective way to detour this from happening.

 

What we need is for a server to allow a group like set up. Where you have the chat room and a palce for members to post messages. This way, you can make it a members only room. I know this can be done with passwords.

 

Now that I am thinking about it, there's your solution. You could set up your room to be either invite only or password acess only. :D

What we need is for a server to allow a group like set up. Where you have the chat room and a place for members to post messages. This way, you can make it a members only room. I know this can be done with passwords

:lmaojump: Wiley E. Im working on it mate opened a msn group message board and as soon as the members I have know of old join :D I will be calling on you Wiley E. to make me a code :D

LOL. OK.

I know alot of people don't like Proboards, but they have a chat system now thats incorperated right in the message boards. I am doing some research on it. If it's a descent chat applet, and mIRC will work on it, I may just have some solutions for people you and I that don't want alot of mess, just a place for our friends to be able to chat, post and keep in touch with one another. ;)

 

 

EDIT!

Nevermind. The chat is a simple java aplet and a pretty lame one at that.

Edited Aug 4, 2007 5:01 PM by Wiley E.