function Trig_Clock_Actions takes nothing returns nothing if sec==59 then set sec=0 set min=min+1 else set sec=sec+1 endif call MultiboardSetTitleText(board,(boardname+" - "+I2S(min)+" : "+I2S(sec))) endfunction //=========================================================================== function InitTrig_Clock takes nothing returns nothing set gg_trg_Clock = CreateTrigger() call TriggerRegisterTimerEventPeriodic(gg_trg_Clock,1.) call TriggerAddAction(gg_trg_Clock, function Trig_Clock_Actions) endfunction
вот написал часики на мб... но они не оттображаються(
Code
set board=CreateMultiboard() set boardname="|cFFFF5800Battle of the Power|r"