+ if [ "$arg" -gt "$currvolume" ]
+ then
+ delta=$(( $arg - $currvolume ))
+ $mpccmd volume +$delta
+ fi
+ if [ "$arg" -lt "$currvolume" ]
+ then
+ delta=$(( $currvolume - $arg ))
+ $mpccmd volume -$delta
+ fi
+ if [ "$arg" -eq "$currvolume" ]
+ then
+ $mpccmd repeat
+ $mpccmd repeat
+ fi
+ fi
+ fi