Ok, I started something, but I ran into some trouble. Using while (1) in my script killed X-Chat (not surprisingly)... what else could I do to make it keep checking if it's been a minute?
Here's what I have so far, I think the time part works but haven't been able to test it.
Code:
#!/usr/bin/perl -w
IRC::register("EveryMin", "1.0", "", "");
while (1) {
($sec, $min, $hour, $monthday, $month, $year, $weekday, $yearday, $isdaylight) = localtime(time);
if ($sec == 1) {
IRC::send_raw("whois smb3master\r\n");
}
}