The AI_Process logic in bot.cpp calls CanThisClassDoubleAttack, which is a function in mob.cpp.  For non-clients, that returns:
	Code:
	return(GetSkill(SkillDoubleAttack) > 0);
 I'm not sure if '#bot showstats' shows skill values or not.  That might be something to check.