RegisterScheduleAction( "* 00 * * * * * : * 15 * * * * * : * 30 * * * * * : * 45 * * * * *", SA_webad );
Sub SA_webad() # Lapper Event
cmdlfs ( "/msg ^3Visit Our Website At ^6www.AMGMotorsports.ucoz.com" );
EndSub
UserGroupFromFile( "admin", "./admin.txt" );
UserGroupFromFile( "halfadmin", "./halfadmin.txt" );
IF( UserInGroup( "admin",$userName ) == 1 )
THEN
IF( UserInGroup( "halfadmin",$userName ) == 1 )
THEN
cmdlfs( "/restart" );
ELSE
privMsg( langEngine( "%{main_notadmin}%" ) );
ENDIF
BREAK;
Event OnIdle1() # Player event
UserGroupFromFile( "Exempt", "./idleexempt.txt" );
$UserName = GetCurrentPlayerVar("UserName");
IF( UserInGroup( "Exempt",$UserName ) == 1 )
THEN
ELSE
privMsg( langEngine( "%{main_idle1}%" ) );
ENDIF
EndEvent
include( "./includes/Lang_En.lpr");
include( "./includes/Lang_Fr.lpr");
#$IdleExclude = "Tur8o,5ini5t3r,Andy King,Blaine"; # Usernames excluded for idle check
$IdleExclude = "&./idleexempt.txt";
$OnIdleTimeout1 = 40; # Idle timeout for OnIdleAction1 in seconds
Event OnIdle1() # Player event
privMsg( langEngine( "%{main_idle1}%" ) );
EndEvent
$OnIdleTimeout2 = 50; # Idle timeout for OnIdleAction2 in seconds
Event OnIdle2() # Player event
cmdLFS( "/spec " . GetCurrentPlayerVar("Nickname") );
privMsg( langEngine( "%{main_idle2}%" ) );
EndEvent
$IdleExclude = "&./idleexempt.txt";
IF ( $enable_pitboard == "true" )
THEN
OnConnect_Pitboard();
ENDIF
EndEvent
LFSLapper.LFSClient.managePacket(NCN newConnection) in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\src\LFSClient\managePacket.cs:line 51
at LFSLapper.LFSClient.Loop(Connect insimConnection) in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\src\LFSClient\loop.cs:line 889
at LFSLapper.LFSClient.doloop() in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\src\LFSClient\lfsclient.cs:line 625
at LFSLapper.LFSListen.Listen.goWorkMode() in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\src\LFSListen\Listen.cs:line 85
at LFSLapper.LFSListen.Listen.startStbMode() in D:\Dev\DevInsim\lapper\LFSLapper5.842\LFSLapper\src\LFSListen\Listen.cs:line 270