This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Auto lift ban for EVRYONE in chanel

Help for those learning Tcl or writing their own scripts.
Post Reply
m
m00se
Voice
Posts: 1
Joined: Sun Sep 27, 2009 11:58 am

Auto lift ban for EVRYONE in chanel

Post by m00se »

I know very little about scripts , we have an IRC , all ops have access to #staff , if anyone joins , that does not have status they get kicked baned , once in a while an OP does not Ident himself and he gets kicked baned , I would like my bot to unban I"ve copied this small script , and tried it but it does not work ...

Code: Select all

proc badword {nick uhost hand chan rest} {
  global botnick bword
    if {([ matchattr $hand f ])} {
      	# We do nothing here we are waiting for the msg Chanser sets mode:

        return 1
	} else { 
        putserv "/mode -b $#staff $nick"   #We found it, now time to remove the ban
        return 0
	}
}
can somone help please .....
Post Reply