This is the new home of the egghelp.org community forum. this announcement post . Click the X in the top right-corner of this box to dismiss this message. 
Help for those learning Tcl or writing their own scripts.
			
		
				
			
				
								whittinghamj 							 
						Op 			
		Posts:  103 Joined:  Sun May 21, 2006 4:50 pm 
		
						
					
						 
													
							
						
									
						Post 
					 
								by whittinghamj  Sun Jun 04, 2006 12:19 pm 
			
			
			
			
			
			works fine for me
here is the working code
Code: Select all 
bind pub o|v !sections pub:sections
setudef flag inc
proc pub:sections {nick uhost hand chan arg} { 
set chan [string tolower $chan] 
  if {[channel get $chan inc]} {
  putserv "PRIVMSG $chan :what ever you waht to say here"
 } 
 }
 putlog "!SECTIONS"
then in the console / idx window.
thats all you need buddy should work just fine.
 
		 
				
		
		 
	 
				
		
				
			
				
								NTHosts 							 
						Op 			
		Posts:  100 Joined:  Mon Oct 10, 2005 9:57 pmLocation:  UK
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by NTHosts  Sun Jun 04, 2006 7:34 pm 
			
			
			
			
			
			What happend to the 'sajoin' bit, thats the bit that caught my eye. 
 
		 
				
		
		 
	 
				
		
				
			
				
								DragnLord 							 
						Owner 			
		Posts:  711 Joined:  Sat Jan 24, 2004 4:58 pmLocation:  C'ville, Virginia, USA 
		
						
					
						 
													
							
						
									
						Post 
					 
								by DragnLord  Sun Jun 04, 2006 8:08 pm 
			
			
			
			
			
			replace
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								NTHosts 							 
						Op 			
		Posts:  100 Joined:  Mon Oct 10, 2005 9:57 pmLocation:  UK
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by NTHosts  Mon Jun 05, 2006 4:57 pm 
			
			
			
			
			
			Works perfect thanks..
One more thing though, how can i set this so only users with a certain flag on my bot can use it 2 enter a channel ?
Thing is i need 2 limit a channels access to only a few users but i don't wanna use keys or whatever, so if this could be done would be great 
 
		 
				
		
		 
	 
				
		
				
			
				
								DragnLord 							 
						Owner 			
		Posts:  711 Joined:  Sat Jan 24, 2004 4:58 pmLocation:  C'ville, Virginia, USA 
		
						
					
						 
													
							
						
									
						Post 
					 
								by DragnLord  Mon Jun 05, 2006 5:13 pm 
			
			
			
			
			
			change the bind flags
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								NTHosts 							 
						Op 			
		Posts:  100 Joined:  Mon Oct 10, 2005 9:57 pmLocation:  UK
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by NTHosts  Mon Jun 05, 2006 5:30 pm 
			
			
			
			
			
			I just tried to set it to 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								DragnLord 							 
						Owner 			
		Posts:  711 Joined:  Sat Jan 24, 2004 4:58 pmLocation:  C'ville, Virginia, USA 
		
						
					
													
							
						
									
						Post 
					 
								by DragnLord  Mon Jun 05, 2006 5:34 pm 
			
			
			
			
			
			NTHosts wrote: I just tried to set it to 
You need to learn about eggdrop's default flags.
.help whois
Eggdrop allows for user-specified flags using 0-9 and A-Z (uppercase).
 
		 
				
		
		 
	 
				
		
				
			
				
								NTHosts 							 
						Op 			
		Posts:  100 Joined:  Mon Oct 10, 2005 9:57 pmLocation:  UK
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by NTHosts  Mon Jun 05, 2006 6:46 pm 
			
			
			
			
			
			I see my fault.. Thanks for yah help dood