Each client (IE, mirc, bitchx, eggdrop (yes, it's a client)), may have scripting abilities (most do), though most use different or there own languages to do so.
Simply saying IRC script isn't of much help, as it doesn't declare the client type, version or anything else that would be usful to us.
In 99.999% of cases, if it isn't labled "for eggdrop" then it won't work.
I wrote a search script, not very long, to use in MIRC..So iwill have to tranfert it to tcl? grrr i've never written tcl before..Sorry for my poor english i'm from Canada..