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. 
	 
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
			
		
				
			
				
								i.m.offline 							 
						Halfop 			
		Posts:  74  		Joined:  Thu Mar 02, 2006 11:47 am 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by i.m.offline   »  Wed Nov 08, 2006 3:57 am 
			
			
			
			
			
			Hello Friends,  
 
I would request if I can have a script which bans on specific part/quit msg. I tried using Awyeah's code and it works all well. But when I tried to add few more words in it for part/quit ban. The script dont react for those words. I dont understand why.  
 
Please if u have something better, thx in advance.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								rosc2112 							 
						Revered One 			
		Posts:  1454  		Joined:  Sun Feb 19, 2006 8:36 pm 		
		
											Location:  Northeast Pennsylvania 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by rosc2112   »  Wed Nov 08, 2006 4:08 am 
			
			
			
			
			
			Which words exactly?  And what is the name of the script?
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								i.m.offline 							 
						Halfop 			
		Posts:  74  		Joined:  Thu Mar 02, 2006 11:47 am 		
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by i.m.offline   »  Wed Nov 08, 2006 4:24 am 
			
			
			
			
			
			The script is  
# Begin - Part/Quit, Anti Part/Quit Message Script v5.34.b (partquit.tcl) 
 
by Awyeah. 
 
and the variable in this script is 
set partquitwords { 
 
But when I add new words in it, it doesn't seems to be reacting
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								rosc2112 							 
						Revered One 			
		Posts:  1454  		Joined:  Sun Feb 19, 2006 8:36 pm 		
		
											Location:  Northeast Pennsylvania 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by rosc2112   »  Wed Nov 08, 2006 12:16 pm 
			
			
			
			
			
			Yeah..that's why I asked "which words exactly"
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								i.m.offline 							 
						Halfop 			
		Posts:  74  		Joined:  Thu Mar 02, 2006 11:47 am 		
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by i.m.offline   »  Wed Nov 08, 2006 12:40 pm 
			
			
			
			
			
			i tried to add like echox, killed.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								rosc2112 							 
						Revered One 			
		Posts:  1454  		Joined:  Sun Feb 19, 2006 8:36 pm 		
		
											Location:  Northeast Pennsylvania 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by rosc2112   »  Wed Nov 08, 2006 1:54 pm 
			
			
			
			
			
			what settings do you have in the script so i can test it with the same settings.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								cache 							 
						Master 			
		Posts:  306  		Joined:  Tue Jan 10, 2006 4:59 am 		
		
											Location:  Mass 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by cache   »  Sun Nov 12, 2006 12:04 pm 
			
			
			
			
			
			Did you .rehash after adding changes?
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								rosc2112 							 
						Revered One 			
		Posts:  1454  		Joined:  Sun Feb 19, 2006 8:36 pm 		
		
											Location:  Northeast Pennsylvania 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by rosc2112   »  Sun Nov 12, 2006 1:27 pm 
			
			
			
			
			
			Hmm I guess he's not gonna tell me what his settings are..This script is really really really overly complicated.. Would be easier to write a custom script based on any one of the simpler "ban for this or that" scripts from the archives, like one of the badname or badword scripts..
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								Riddler 							 
						Halfop 			
		Posts:  60  		Joined:  Sun May 20, 2007 10:20 pm 		
		
											Location:  Brasov, Romania 
												
							
				Contact: 
				
			 
				
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Riddler   »  Mon May 21, 2007 6:09 am 
			
			
			
			
			
			Try to use this script
Code: Select all 
set qpadv(chan) "#channel"
# Set here your kick message
set qpadv(km) "Please change your QUIT/PART message!"
# Set here the ban time
set qpadv(bt) "1440"
# Set here the bad quit's for witch the user will be banned.
set qpadv(w) {
  "*www*"
  "*http://*"
  "#*"
  "*.com*"
  "*.org*"
  "*.ro*"
  "*.de*"
  "*.us*"
  "*.net*"
  "*.co.uk"
  "*.eu"
  "*.in"
  "*.bis*"
}
########################################################
#- Don't edit below unless you know what you're doing -#
########################################################
bind sign - * s:riddler:qpadv
bind part - * s:riddler:qpadv
proc s:riddler:qpadv {nick uhost hand chan arg} {
  global botnick qpadv
     if {[matchattr $hand of|of $chan] || [isop $nick $chan] || [isvoice $nick $chan]}  { return 0 }
     if {(([lsearch -exact [string tolower $qpadv(chan)] [string tolower $chan]] != -1) || ($qpadv(chan) == "*")) && (![matchattr $hand b]) && ($nick != $botnick)} {
         foreach badqp [string tolower $qpadv(w)] {
         if {[string match *$badqp* [string tolower $arg]]} {
            set ban "*!*@[lindex [split $uhost @] 1]"
            newchanban $chan $ban quitpartadv $qpadv(km) $qpadv(bt)
            return 1  
           }
        }
    }
}
putlog "TCL Loaded: noquitpartadv.tcl"
It`s working very good 
       
			
			
									
						
							I am a man of few words, but many riddles