IDcard function

Hello i want to add the (jsfour-idcard) ‘checkID’ and ‘showID’ functions to the callback of that command. Can someone please help me or show what i need to write in behind the function() to trigger the ‘showID’ or the ‘checkID’ function.