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.
			
		
				
			
				
																S 														
								SkaaP  							 
									
						
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by SkaaP   »  Wed Aug 06, 2003 5:17 pm 
			
			
			
			
			
			Hi i'm trying to make a tcl script that reacts on colorized text, Invision a mirc addon automaticly says  • Thanks for the +v • colorized 
i want my bot to react if this is saying by activating a proc, i tried make the trigger *thanks* (who ever uses thanks on irc it's always thx anyway ) but this doesn't work on the colorized text, what did i do wrong and can anyone help me?
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								jimmyx 							 
						Voice 			
		Posts:  11  		Joined:  Mon Jul 14, 2003 6:51 pm 		
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by jimmyx   »  Wed Aug 06, 2003 9:39 pm 
			
			
			
			
			
			mIRC color code wont work in TCL. You need to use \003
For example: 
Code: Select all 
putserv "privmsg #channel : \00312,11Thanks for the +v \00312"
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
																S 														
								SkaaP  							 
									
						
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by SkaaP   »  Thu Aug 07, 2003 5:03 am 
			
			
			
			
			
			Sorry for not making myself clear but i mean that the bot must react if some says "thanks for the +v".
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								caesar 							 
						Mint Rubber 			
		Posts:  3778  		Joined:  Sun Oct 14, 2001 8:00 pm 		
		
											Location:  Mint Factory 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by caesar   »  Thu Aug 07, 2003 5:12 am 
			
			
			
			
			
			Code: Select all 
bind pubm - "*\002*" pubm:color
bind pubm - "*\003*" pubm:color
bind pubm - "*\006*" pubm:color
bind pubm - "*\007*" pubm:color
bind pubm - "*\017*" pubm:color
bind pubm - "*\026*" pubm:color
bind pubm - "*\037*" pubm:color
proc pubm:color {nick uhost hand chan text} {
  # your stuff here..
}
This will react on: bold, colour, underline, reverse, italic, and.. ummm.. bell or something, I've forgot. 
 
			
			
									
						
							Once the game is over, the king and the pawn go back in the same box.
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								ppslim 							 
						Revered One 			
		Posts:  3914  		Joined:  Sun Sep 23, 2001 8:00 pm 		
		
											Location:  Liverpool, England 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by ppslim   »  Thu Aug 07, 2003 5:32 am 
			
			
			
			
			
			It sounds like a simple case of you using the PUB bind, when you should be using the PUBM bind.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
																S 														
								SkaaP  							 
									
						
		
						
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by SkaaP   »  Thu Aug 07, 2003 5:58 am 
			
			
			
			
			
			a 1000 thanks it now works 
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								caesar 							 
						Mint Rubber 			
		Posts:  3778  		Joined:  Sun Oct 14, 2001 8:00 pm 		
		
											Location:  Mint Factory 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by caesar   »  Thu Aug 07, 2003 10:34 am 
			
			
			
			
			
			Umm.. damn, forgot to remove the m 
 
			
			
									
						
							Once the game is over, the king and the pawn go back in the same box.
			
						 
		 
				
		
		 
	 
				
		
				
			
				
								ppslim 							 
						Revered One 			
		Posts:  3914  		Joined:  Sun Sep 23, 2001 8:00 pm 		
		
											Location:  Liverpool, England 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by ppslim   »  Thu Aug 07, 2003 11:01 am 
			
			
			
			
			
			You didn't. 
 
It needs the m, or am I misunderstanding you. 
 
PUB is for "The first work is the command" 
 
PUBM is for "Wildcard based matching, on the whole line of text". 
 
Thus, only PUBM works on multiword matching.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
				
			
				
								caesar 							 
						Mint Rubber 			
		Posts:  3778  		Joined:  Sun Oct 14, 2001 8:00 pm 		
		
											Location:  Mint Factory 
							
						
		 
		
						
					
						 
		 
													
							
						
									
						Post 
					 
								by caesar   »  Thu Aug 07, 2003 11:51 am 
			
			
			
			
			
			Haha.. damn.. now I know what happeens when I act without thinking. 
 The pubm is the correct type.
 
			
			
									
						
							Once the game is over, the king and the pawn go back in the same box.