comparison plugins/fortuneprofile.pl @ 7733:8b6c08c50b26

[gaim-migrate @ 8378] Here I got again, not writing my paper. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 04 Dec 2003 04:10:52 +0000
parents 6de3b775d5b1
children bc45ab9756b5
comparison
equal deleted inserted replaced
7732:31fd796d3909 7733:8b6c08c50b26
83 } 83 }
84 84
85 # Command to get dynamic message from 85 # Command to get dynamic message from
86 $command = "fortune -sn " . ($max - $len); 86 $command = "fortune -sn " . ($max - $len);
87 87
88 $seconds = 10; # Delay before updating away messages.
89 # output the first message and start the timers... 88 # output the first message and start the timers...
90 # This is done as a timeout to prevent attempts to set the 89 # This is done as a timeout to prevent attempts to set the
91 # profile before logging in. 90 # profile before logging in.
92 Gaim::timeout_add($plugin, $seconds, \&update_away, 0); 91 Gaim::timeout_add($plugin, $seconds, \&update_away, 0);
93 } 92 }