ok ive managed to figure out how to strip the codes and send the information back to the channel window, however i dont know how to get rid of the incomming text ?

This is how it is now showing in the channel window
Originally Posted By: "channelwindow"

ÀLPhâ«»®ª : S Comic\bSans\bMS;#6600CC wb CB :D
ÀLPhâ«»®ª : wb CB :D

This is what i want it to show

ÀLPhâ«»®ª : wb CB :D

The code im using is :-
Code:
alias sfont { return $remove($1-, S ,Trebuchet\bMS;,Comic\bSans\bMS;,,Franklin\bGothic\bBook;,Microsoft\bSans\bSerif;,Tahoma;,#FF0000,#000066,#6600CC,#0000CC,#0099FF,#660000  ) | halt } 
on ^*:TEXT:*:#:{ echo -t $chan [ $nick ] $chr(58) $sfont($1-) | haltdef }

Obviously i will need to add the rest of the fonts and the rest of the HTML color codes to omit those aswell, if anyone has a quicker way in doing this it would be helpfull as there are over 150 colors.

But my main concern at the minute is getting rid of the auto inputed first line in the channel window.


Last edited by Geordie_No9; 23/10/08 11:28 AM.