For adminmsg you can do that in GLScript in easy with listOfPlayer and group like your C# code. No reason to Add in LFSLapper. Maybe you can write a utils.lpr with GLScript usefull functions.
De rien Loco d'un autre coté, t'as un Wagon de retard avec LFSLapper , honte sur toi
Rigth Fire_optikz001
2. Add new function to close private button for another player Syntax : closeButton( username, idOfButton );
3 - Add new command openTextButton, to open a button who query an input string for a specified player openTextButton( "username","ref2",103,140,20,10,10,32,"Caption","Toto",30,saisTxt );
i work too much to allow LFSLapper Script developper to work hard to write good script for the community.
Release 5.9.2.5
send me feedback.
+-------------------------------+ |Changes from v5.924 to 5.925 | +-------------------------------+ Files to replace From the previous version - LFSLapper.exe
1. Add new function to open private button for another player Syntax : openButton( username, idOfButton, left, top, width, height, interline, secondDisplayed, style, text[,optional_backCall] );
2. Add new function to close private button for another player Syntax : closeButton( username, idOfButton );
3 - Add new command openTextButton, to open a button who query an input string for a specified player openTextButton( "username","ref2",103,140,20,10,10,32,"Caption","Toto",30,saisTxt );
Open a button for the current player, args are 1 - UserName of the player who want open a text button 2 - Unique id for this button 3 - Left coordinate for this button ( 0-200 ) $origL = (value between 0-200); - when this value is used, every next value can be made relative to this one (example: $origL + 5;) 4 - Top coordinate for this button ( 0-200 ) $origT = (value between 0-200); - when this value is used, every next value can be made relative to this one (example: $origT + 5;) 5 - Width of the button ( 0-200 ) 6 - Heigth of the button ( 0-200 ) 7 - Space between line in multiline button 8 - Format of the button, look at insim.txt for values 9 - Caption displayed in the input box 10 - Button Text 11 - Number char to be input 12 - Backcalled sub
Backcalled function receive 2 args first = idOfButton Second = Text Example of called subroutine Sub goto_sub( $id,$text ) WriteLine( $id ); EndSub