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. 
	 
Old posts that have not been replied to for several years.
			
		
				
			
				
																X 														
								Xerxes  							 
									
						
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Xerxes   »  Fri Feb 15, 2002 5:01 pm 
			
			
			
			
			
			I wrote a script that makes the bot leaves after being kicked from a channel. Unfortunately the bot crashes right after being kicked. The same goes for trying to leave a channel after someone changes his nick. Does anyone know how I can get the bot to leave the channel after it is kicked?
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								Wcc 							 
						Master 			
		Posts:  278  		Joined:  Sun Oct 28, 2001 8:00 pm 		
		
											Location:  USA 
												
							
				Contact: 
				
			 
				
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Wcc   »  Fri Feb 15, 2002 5:20 pm 
			
			
			
			
			
			You might want to send in a bug-report and hopefully it can be fixed in the next release. Read doc/BUG-REPORT on how to do so.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								Petersen 							 
						Owner 			
		Posts:  685  		Joined:  Thu Sep 27, 2001 8:00 pm 		
		
											Location:  Blackpool, UK 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Petersen   »  Fri Feb 15, 2002 5:40 pm 
			
			
			
			
			
			since he didn't mention what version he's running, i'd tell him to test on very latest version first (1.6.
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
																X 														
								Xerxes  							 
									
						
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Xerxes   »  Fri Feb 15, 2002 8:07 pm 
			
			
			
			
			
			Actually I run a Windrop, version 1.6.8. Hope that counts 2 
 And maybe someone has a script that avoids this bug or something.
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								Petersen 							 
						Owner 			
		Posts:  685  		Joined:  Thu Sep 27, 2001 8:00 pm 		
		
											Location:  Blackpool, UK 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Petersen   »  Fri Feb 15, 2002 11:38 pm 
			
			
			
			
			
			uggh, windows. its probably 90% certain thats the cause of your error. if you can reproduce it on *nix then its a bug, otherwise its prolly just some wierd windows sideeffect.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
																X 														
								Xerxes  							 
									
						
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Xerxes   »  Sat Feb 16, 2002 4:47 am 
			
			
			
			
			
			I'll try it on Linux tomorrow (or maybe today if I have time). Let's hope it's Windows...
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
																X 														
								Xerxes  							 
									
						
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Xerxes   »  Sun Feb 17, 2002 9:06 am 
			
			
			
			
			
			It's NOT a Windows bug, so I'll send in the error report this afternoon 
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								stdragon 							 
						Owner 			
		Posts:  959  		Joined:  Sun Sep 23, 2001 8:00 pm 		
		
											
							
				Contact: 
				
			 
				
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by stdragon   »  Sun Feb 17, 2002 9:23 am 
			
			
			
			
			
			I'm assuming that when you say "leave the channel" you mean "delete the channel", since just sending "PART $chan" shouldn't ever crash the bot.
Try putting the code in a timer so that it doesn't get executed during the kick/nick bind.
Code: Select all 
utimer 0 [list channel remove $chan]
You might have to do utimer 1 instead of 0, but 0 should work.
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
																X 														
								Xerxes  							 
									
						
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by Xerxes   »  Sun Feb 17, 2002 12:58 pm 
			
			
			
			
			
			I tried your suggestions, and now the bot doesn't crash anymore. Instead it prints this over and over again: 
 
# Context: tclhash.c/680 [] 
Identd Already Disabled. <Tried to Close>
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								stdragon 							 
						Owner 			
		Posts:  959  		Joined:  Sun Sep 23, 2001 8:00 pm 		
		
											
							
				Contact: 
				
			 
				
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by stdragon   »  Sun Feb 17, 2002 7:58 pm 
			
			
			
			
			
			That sounds like another error. Maybe the builtin ident server that comes with windrop? Try it on linux again to be sure