Event SwearWordsAction1()
privMsg( "^1Don't use this words on this server" );
privMsg( "You will be kicked in ^2" . $SwearWordsRem . " ^1 more attempt(s)" );
EndEvent
I don't see anything wrong. The only boobytrap is testing this with an admin account. An admin can't be kicked or banned, so it looks like nothing happens.
I think it's the Lapper that clears the button...I tried to log the insim communication and it seems that Lapper sends a 42 - ISP_BFN packet right after LFS has sent a 23 - ISP_PLL (Player Leave) packet.
Infact, trying with another app (LFSAdminRights), I do not lose buttons on screen when going from race to spectator.
Btw, congrats for all your work on LFSLapper, I haven't used it much (yet) but it looks amazing
The possibility of using user-defined scripts is absolutely brilliant
Is it possible to implement a rotational message system.
We all send messages using Lapper saying "Respect the BLUE FLAG at all times !" etc etc. Instead of using the Schedule could you implement it so we can rotate a list of messages say every 120 seconds or whatever to server.
If this sytem had 2 areas within itself....
1) Send messages through server to all drivers.
2) Send messages through rcm_all to cockpits.
This would give us the best of both worlds. We could add as many messages to each system as we wanted and the server wouldn't be flooded as only 1 message is sent every 120 seconds on a rotational system.
The posibility to store user and or nicknames in a database when they press a button.So we can set up a race in the schedule and people can register them self by pressing a button.
If the stored username's are place on a new line in the database we can use the database for QualUsers.
second one: A posibility to fill the text from (multiline)button from a text file. This makes it posible to change the text of a multiline button without restarting lapper and make the config file a bit shorter.