# This function is the main function for the car salesmen. It will run the main dialogue for the car salesmen.
scoreboard players random posh_intro_dialogue shapescape_cars_var 0 2
execute if score posh_intro_dialogue shapescape_cars_var matches 0 run function shapescape/cars/posh/intro/i0
execute if score posh_intro_dialogue shapescape_cars_var matches 1 run function shapescape/cars/posh/intro/i1
execute if score posh_intro_dialogue shapescape_cars_var matches 2 run function shapescape/cars/posh/intro/i2