R signifies a rest. now when you have to put it in your program, get rid of the end and bgmplay. it should just be the bgmsetd with the other starting protocals and the data near the end of the program