User Name
Password

Go Back   Planetarion Forums > Non Planetarion Discussions > Programming and Discussion
Register FAQ Members List Calendar Arcade Today's Posts

Reply
Thread Tools Display Modes
Unread 25 Dec 2002, 00:59   #1
MT
/dev/zero
Retired Mod
 
MT's Avatar
 
Join Date: May 2000
Posts: 415
MT is an unknown quantity at this point
Just my way of saying..

Code:
use Irssi;

sub secs_to_xmas {
  ($server, $data, $fred, $wilma) = @_;
  Irssi::print(" $server, $data, $fred, $wilma");
  $secs = `echo \$(date  -d 02-12-25 +%s) - \$(date +%s) | bc`;
  chomp $secs;
  if ($fred == "MT") {
    $server->command("MSG #linux Only $secs secs to go till xmas!");
  }
}

Irssi::signal_add("event privmsg","secs_to_xmas");
__________________
#linux : Home of Genius

<idimmu> ok i was chained to a desk with this oriental dude
MT is offline   Reply With Quote
Unread 25 Dec 2002, 12:27   #2
Leshy
Mr. Blobby
 
Leshy's Avatar
 
Join Date: Nov 2000
Location: Belgium
Posts: 8,271
Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Leshy has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Code:
CLS: SCREEN 12
PRINT "Merry Christmas!"
END
__________________
http://www.leshy.net
Leshy is offline   Reply With Quote
Reply



Forum Jump


All times are GMT +1. The time now is 11:43.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018