Mercurial > pidgin.yaz
view plugins/gaim.pl @ 2789:e8a2f3b92348
[gaim-migrate @ 2802]
I don't think anyone is being pleased with the way it is now.
So I'll put in this fix. Maybe this will make more people happy.
That comment pissed me off so much.
I'll put it back to the way it was originally tomorrow when I get home.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 24 Nov 2001 19:15:32 +0000 |
parents | a83b4a5ffcd6 |
children | cd938f18f3f8 |
line wrap: on
line source
GAIM::register("gaim test", "0.0.1", "goodbye", ""); $ver = GAIM::get_info(0); @ids = GAIM::get_info(1); $msg = "Gaim $ver:"; foreach $id (@ids) { $pro = GAIM::get_info(7, $id); $nam = GAIM::get_info(3, $id); $msg .= "\n$nam using $pro"; } GAIM::print("Perl Says", $msg); GAIM::command("idle", 6000); GAIM::add_event_handler("event_buddy_signon", "echo_reply"); GAIM::add_timeout_handler(60, "notify"); sub echo_reply { $index = $_[0]; $who = $_[1]; GAIM::print_to_conv($index, $who, "Hello", 0); } sub notify { GAIM::print("1 minute", "gaim test has been loaded for 1 minute"); } sub goodbye { GAIM::print("You Bastard!", "You killed Kenny!"); }