Code: Select all
local hf_attack_key;
   if( settings.profile.hotkeys.MACRO ) then
      hf_attack_key = "MACRO";
      cprintf(cli.green, language[31], 
         hf_attack_key , dist);   -- looting target.
      RoMScript("UseSkill(1,1);");
   else
      hf_attack_key = getKeyName(settings.profile.hotkeys.ATTACK.key);
      cprintf(cli.green, language[31], 
         hf_attack_key , dist);   -- looting target.
      keyboardPress(settings.profile.hotkeys.ATTACK.key);
   end




 
 

