# A multiplayer race's career win with the autosave off and the tab closed before the next save, the joining side
# (with mpcredit_lan_a.txt): joins A's lobby, races, back in free roam it quits.
0     bot on
+0    waitroam 6000
+0    bot off
+0    roam smsauto on
+0    peek 0x00844ad8 1
+0    poke 0x00844ad8 ${MPC_SAVE_FLAGS}
+0    roam mp waitpeers 1 12000
+0    roam mp waitlobby 0 6000
+0    careergo ${MP_RACE}
+300  roam mp lobby
+0    log LOBBY join
+0    tap RETURN                      # Engage: the race's card
+0    waitfng UI_EngageRaceDialog.fng 900
+120  tap LEFT
+30   tap RETURN                      # Accept: Solo or Multiplayer?
+0    waitfng IG_GenericDialog_MED.fng 600
+60   tap RETURN                      # Multiplayer (Join)
+60   roam mp waitlobby 2 3000
+0    waitexpr i:0x850078 == 512 6000
+0    waitmem 0x008654a4 6 20000
+0    log LOBBY race
+0    autopilot on 6000
+0    roam mp waittrip 40000
+0    careerlist
+0    peek 0x00861e74 1                # the bank
+0    peek 0x00844ad8 1
+0    log LOBBY DONE
+60   quit
