viewing paste Unknown #508 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
-   script  GMLogin -1,{
OnPCLoginEvent:
    set .@gm, getgmlevel();
    if(.@gm >= 50)
    {
        atcommand "@speed 0";
        atcommand "@hide";
        atcommand "@monsterignore";
        dispbottom "Welcome "+strcharinfo(0)+" ! Please make sure to check players!";
        
        switch(.@gm){
            case 50:
                atcommand "@kamib Endless Ragnarok GM Police/Event, "+strcharinfo(0)+" Has Login";
            break;
            case 90:
                atcommand "@kamib Endless Ragnarok Head GM, "+strcharinfo(0)+" Has Login";
            break;
            case 99:
                atcommand "@kamib Endless Ragnarok GM, "+strcharinfo(0)+" Has Login";
            break;
            default:
            break;
        }
        
        
        dispbottom "Current Server Time : " + gettimestr("%A %B %d %Y - %I:%M %p",40);
    }
end;
 
 
OnPCLogoutEvent:
    if(getgmlevel() >= 50){
        atcommand "@kamib Endless Ragnarok GM, "+strcharinfo(0)+" Has Logout";
    }
    end;
}
Viewed 708 times, submitted by Guest.