it works!
Just showing off because im a bit syked it actually works!
to add a new variable to the system the only things needed to do is
add it to the settings list like so:
CHOICE_ITEM(repeat_mode,LANG_REPEAT, REPEAT_ALL,NUM_REPEAT_MODES,
LANG_OFF,LANG_REPEAT_ALL,LANG_REPEAT_ONE,LANG_SHUFFLE,LANG_REPEAT_AB),
then make a menu option for it
MAKE_SETTING_OPT(repeat_mode);
then add it to an exsisting menu
MAKE_MENU(playback, ID2P(LANG_PLAYBACK_MENU), &volume, &repeat_mode,
&shuffle ...);
recompile and your done!