Easy code question

Following another user’s guide I’ve got a scene triggered by a motion sensor. It successfully runs the code

luup.call_action(‘urn:micasaverde-com:serviceId:ZWaveNetwork1’,‘SendData’,{Node=‘21’,Data=‘112 4 6 1 3’},1)

and rings the Aeon Labs Doorbell for the 3rd ringtone.

I wanted it to just ring once, not twice. When I run the test code in the develop apps test area, luup.call_action(‘urn:micasaverde-com:serviceId:ZWaveNetwork1’,‘SendData’,{Node=‘21’,Data=‘112 4 2 1 1’},1)
and then run the test code above for the ringing of the bell, it rings just once.

However I may want one scene to ring twice quietly, another scene to ring once loudly, etc, so I figured I should send the parameters to change those items with each bell ring, always ensuring the right volume and number of plays of the sound file.

Do I need to put both the set ring to 1 code, and then the ring bell code in the scene? If so, how do I do multiples lines of luup like that, I get a failed scene when i try:

luup.call_action(‘urn:micasaverde-com:serviceId:ZWaveNetwork1’,‘SendData’,{Node=‘21’,Data=‘112 4 8 1 1’},1)
luup.call_action(‘urn:micasaverde-com:serviceId:ZWaveNetwork1’,‘SendData’,{Node=‘21’,Data=‘112 4 2 1 2’},1)
luup.call_action(‘urn:micasaverde-com:serviceId:ZWaveNetwork1’,‘SendData’,{Node=‘21’,Data=‘112 4 6 1 3’},1)

Is there some syntax to stacking multiple lines of code? a “then” after the first line, or comma, or semicolon?

Thanks,

Andrew