viewing paste topic/4726- OnPCJobChangeEvent.txt | Athena

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12
-       script  OnPCJobChangeEvent      -1,{
        if ( Class != Job_Novice_High ) end; // only trigger on High Novice
//      dispbottom "test";
        for ( .@i = 1; .@i <= 4; .@i++ ) {
                if ( getd( "@ms_b_m_"+ .@i +"[0]" ) ) {
                        deletearray getd( "@ms_b_m_"+ .@i );
                        setd "ms_b_m_"+ .@i +"$", "";
                        deltimer "ms_b_::OnQuest"+ .@i +"TimeUp";
                }
        }
        end;
}
Viewed 575 times, submitted by AnnieRuru.