It looks like you're new here. If you want to get involved, click one of these buttons!
\ <<if visited() is 1>>The car's been ransacked, no doubt several times and a thorough search reveals nothing of value. \ <<if $hasGas and $hasPlug>><<link "Two wires">><<audio "out_side" volume 0.1>><<audio "car_start" volume 100 fadeoverto 11 0.0>><<timed 10s>><<goto "village">><</timed>><</link>> hang from the broken plastic under the steering wheel. \ <<else>> \ <<link "Two wires">><<audio "car_fail" play>><</link>> hang from the broken plastic under the steering wheel. The road continues [[north.]]<</if>> <<else>> \The car's still here. \ <<if $hasGas and $hasPlug>><<link "Two wires">><<audio "out_side" volume 0.1>><<audio "car_start" volume 100 fadeoverto 11 0.0>><<timed 10s>><<goto "village">><</timed>><</link>> hang from the broken plastic under the steering wheel. \ <<else>> \ <<link "two wires">><<audio "car_fail" play>><</link>> hang from the broken plastic under the steering wheel. The road continues [[north.]]<</if>> <</if>>As is stands, the player won't know what's going on if he has his speakers off or has disabled the sound from my options.
Comments
Now, to address the the no/muted audio issue. As one possible, and easy, solution—there are many—you could simply replace <<link>> with <<linkappend>> and provide a suitable set of text for each case. For example—and based on the above example: NOTE: Unlike <<link>>, <<linkappend>> generates output, so you should ensure that no extraneous whitespace or other output will be generated.
PS: If you like the solution, but not the transition of the text, simply remove both t8n keywords.
I can only stress that <<if>> nesting simply won't gel with me. I can't help it. I do try.
Even with your good script in front of me, I still don't understand what it is you've done. I can see you've broken up the sentences and placed part of it after <<else>> macros, but I just don't know or understand what goes where.