Haggis Posted April 3, 2005 Report Share Posted April 3, 2005 (edited) Here it is the font stripper for xchat (linux cersion i dunno if it will work on windows) just paste this code into a text pad and save it as file.pl save it to the .xchat2 directory and then reopen xchat this will autoload it # *********************************************** # # Xchat Font Stripper for Chats USA # # Coded by Haggis # # 3rd April '05 # # http://www.haggistech.co.uk # # *********************************************** # Xchat::register("Split font","0."); Xchat::print("Stripper Loaded\n"); Xchat::print("http://www.haggistech.co.uk\n"); IRC::add_message_handler("PRIVMSG", "say"); sub say { my $line = shift; if($line =~ m/CUSA/) { my $namehost, $prvmsg, $to, $font, $msg, $msg2, $font2; ($namehost, $prvmsg, $to, $font, $msg) = split(/ /, $line, 5); ($name, $host) = split(/!/, $namehost); ($font2, $msg2) = split(/:/,$msg,2); $name =~ s/://; $msg =~ s/://; Xchat::emit_print("Private Message to Dialog", $name, $msg2); return Xchat::EAT_XCHAT; } return Xchat::EAT_NONE; } i know this is gonna get ripped by some but ach if ur that sad what can ya do lol any problems let me know Edited April 3, 2005 by Haggis Link to comment Share on other sites More sharing options...
Daemon Posted April 3, 2005 Report Share Posted April 3, 2005 Nice job haggis Its working very nice Link to comment Share on other sites More sharing options...
Haggis Posted April 3, 2005 Author Report Share Posted April 3, 2005 Yay am so chuffed i managed it lol Link to comment Share on other sites More sharing options...
Ziggy Posted April 3, 2005 Report Share Posted April 3, 2005 Yay! Don't forget #!/usr/bin/perl at the top, just in case your distro sucks and can't tell that's Perl. Link to comment Share on other sites More sharing options...
Haggis Posted April 3, 2005 Author Report Share Posted April 3, 2005 u tried it yet ziggy Link to comment Share on other sites More sharing options...
Ziggy Posted April 4, 2005 Report Share Posted April 4, 2005 Nope, not yet. Working on it though (haven't gotten around to opening up nautilus...). Link to comment Share on other sites More sharing options...
Haggis Posted April 4, 2005 Author Report Share Posted April 4, 2005 ok found a flaw when ur in a whisper if u go to main scren it will echo whispers there so am workig on that the now am not gonna code a stripper for whispers yet and i dont whisper so dont need it lol Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now