Perl is quite nice on XChat, I believe that XChat supports Python too but I do not see that many Python scripts on the web that are made for XChat.