Sleepaholic88 has asked for the wisdom of the Perl Monks concerning the following question:
With "sorry", "srry", or "sry" as the message recieved to the bot. Any ideas? Thanks!if (! -e "emotions/$victim.emo") { open (DATA, ">emotions/$victim.emo"); print DATA "0"; close (DATA); } if ($msg =~ /^sorry/ || $msg =~ /^srry/ || $msg =~ /^sry/) {open (FILE, ">emotions/$victim.emo"); $emo = <FILE>; print DATA "$emo ++ 1"; close(FILE); return "it's OK."; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need Help w/ AIMBot
by fokat (Deacon) on Mar 02, 2003 at 05:32 UTC | |
by Anonymous Monk on Mar 02, 2003 at 18:17 UTC | |
by Sleepaholic88 (Novice) on Mar 02, 2003 at 18:23 UTC | |
|
Re: Need Help w/ AIMBot
by theorbtwo (Prior) on Mar 02, 2003 at 07:10 UTC | |
by Sleepaholic88 (Novice) on Mar 02, 2003 at 22:49 UTC | |
|
Re: Need Help w/ AIMBot
by dws (Chancellor) on Mar 02, 2003 at 05:46 UTC |