One way to run code everytime user opens the lobby is to overwrite the onLoad code for the lobby display. like this:
```
class RscDisplayMultiplayerSetup
{
onLoad = " [] spawn (uinamespace getvariable 'lobbyTest'); "; // Normally you would also like to preserve the existing code here
};
```
this will call the lobbyTest function predefined in uinamespace like so:
```
with uinamespace do
{
lobbyTest =
{
diag_log ''lobbyTest called";
};
};
```