add 'if string matches offlineplayer' logic to IF command