Help with Perl script
Can anyone tell me whats wrong with this script? The second sub Event_Say and the sub Event_Attack work but I can't get the first sub Event_say to work.
Code:
sub EVENT_SAY(){ |
Both 'if' statements should be in one EVENT_SAY I believe.
Syntax looks right for the first 'if' statement, too. |
Code:
sub EVENT_SAY |
You're not allowed to have two subs with the same name. The program is reaching that second one, finding an error and quiting.
|
Ah alright I've been using QST which allowed more than one Event_Say. Thanks guys
|
All times are GMT -4. The time now is 04:28 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.