function HealBot_Errors_OnLoad(this) -- do nothing end function HealBot_Errors_OnShow(this) local client = getglobal("HealBot_Error_Clientx") client:SetText("Client="..GetLocale()) HealBot_Error_Versionx:SetText("Healbot verion="..HEALBOT_VERSION) HealBot_Error_Classx:SetText("Player class="..HealBot_UnitClass("player")) end function HealBot_Errors_OnHide(this) local errtext; HealBot_StopMoving(this); for j=1,28 do errtext = getglobal("HealBot_Error"..j); errtext:SetText(" ") end HealBot_ErrorCnt=0; end function HealBot_Errors_OnDragStart(this,arg1) HealBot_StartMoving(this); end function HealBot_Errors_OnDragStop(this) HealBot_StopMoving(this); end function HealBot_ErrorsIn(msg,id) local errtext = getglobal("HealBot_Error"..id); errtext:SetText(msg) ShowUIPanel(HealBot_Error); end