I have 7 servers running from one folder so the banfile is used for all 7 servers.
No problem at all.
Declare this in event start lapper
GlobalVar $Glob_doAction = 1;
# Action every minute
Register ScheduleAction( "0 * * * * *", MessageID );
Sub MessageID
IF $Glob_doAction == 1 THEN
$Glob_doAction = 0;
...
Here your action, every 2 minutes
...
ELSE
$Glob_doAction = 1;
# no action
ENDIF
EndSub
Event OnLapperStart()
GlobalVar $Glob_doAction;
$Glob_doAction = 1;
EndEvent
Register ScheduleAction( "0 * * * * *", Say_Hello );
Sub Say_Hello()
IF ($Glob_doAction == 1)
THEN
$Glob_doAction = 0;
cmdLFS("/rcm Hello everyone");
cmdLFS("/rcm_all");
ELSE
$Glob_doAction = 1;
ENDIF
EndSub
Event OnLapperStart()
GlobalVar $Glob_doAction;
$Glob_doAction = 1;
EndEvent
Register ScheduleAction( "0 * * * * *", Say_Hello );
Sub Say_Hello()
IF ($Glob_doAction == 1)
THEN
$Glob_doAction = 0;
cmdLFS("/msg Hello everyone");
ELSE
$Glob_doAction = 1;
ENDIF
EndSub