$colsplit = $col[COLOR=Red]S[/COLOR]plit . " ";
$colsplit = $col[COLOR=Red]s[/COLOR]plit . " ";
SWITCH( $command )
CASE "!top":
# Top( $argv );
DoMyTop( $argv,FALSE,FALSE );
BREAK;
CASE "!near":
# Near( $argv );
DoMyTop( $argv,FALSE,TRUE );
BREAK;
CASE "!topqual":
# topQual( $argv );
DoMyTop( $argv,TRUE,FALSE );
BREAK;
CASE "!nearqual":
# nearQual( $argv );
DoMyTop( $argv,TRUE,TRUE );
BREAK;
ENDSWITCH
Sub MyTest()
GlobalVar $MyVar;
[COLOR="Red"] unset( $MyVar );[/COLOR]
$MyVar = GetListOfPlayers( );
$MyVar[1] = "toto";
dumpVar( $MyVar );
test2();
$MyVar[3] = "titi";
dumpVar( $MyVar );
EndSub
Sub test2()
$MyVar[2] = "tata";
dumpVar( $MyVar );
endSub
$MyVar = GetListOfPlayers( );
$MyVar[1] = "toto";
dumpVar( $MyVar );
+-------------------------------+
|Changes from v5.917 to 5.918 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe
1. Fix error when type !stop and then !start in LFS chat window
2. Autorestart LFSLapper instance on error, 4 times
( only if crash < 10s beetween 2 retry ), then go in standBy mode
+-------------------------------+
|Changes from v5.916 to 5.917 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe
replace '&' in all multiline button with %nl% or replace LFSLapper.lpr
replace '&' in all multiline button with %nl% or replace driftmeter.lpr
1. Remove flickering when you display same id button on screen
2. Separator for multiline message is now %nl% (newline) instead '&' to avoid
new line when username or nickname of player contain '&' char
3. Add new separator in text to display in button ( cycling separator ):
%at% is an alternate(s) text, you can have as many alternate text as you
want. LFSLapper display all text separated by %at% one every second
Example
openPrivButton( "drewpitleave02",50,12,100,10,10,10,ISB_DARK,"^1R E M E M B E R !%at%^7R E M E M B E R !%at%D O N ' T C R Y !" );
This display
first "R E M E M B E R !" in red
then "R E M E M B E R !" in white
finally "D O N ' T C R Y !"
then go to the first message and do one more cycle
CatchEvent OnNewPlayerJoin( $userName ) # Player event
GlobalVar $CurrRotation;
$CurrRotation = 0;
Color1( $userName );
EndCatchEvent
Sub color1( $userName )
openPrivButton( "drewpitleave02",50,12,100,10,10,-1,32,"^1R E M E M B E R !" );
privDelayedCommand( 1,color2 );
EndSub
Sub color2($userName)
openPrivButton( "drewpitleave02",50,12,100,10,10,-1,32,"^7R E M E M B E R !" );
$CurrRotation = $CurrRotation + 1;
IF( $CurrRotation < 5 ) THEN
privDelayedCommand( 1,color1 );
ELSE
ClosePrivButton( "drewpitleave02" );
ENDIF
EndSub