viewing paste GM Login/Logout Announce | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
-   script  Sample  -1,{
OnPCLoginEvent:
if( getgmlevel() == 99 ) announce "EndlessRO GM "+strcharinfo(0)+" has login.",0;
else if( getgmlevel() == 90 ) announce "EndlessRO Head GM "+strcharinfo(0)+" has login.",0;
else if( getgmlevel() == 50 ) announce "EndlessRO Head GM Police/Event "+strcharinfo(0)+" has login.",0;
else end;
dispbottom "Welcome "+strcharinfo(0)+" ! Please make sure to check players!";
atcommand "@Battleignore";
atcommand "@speed 0";
atcommand "@hide";
dispbottom "Current Server Time : " + gettimestr("%A %B %d %Y - %I:%M %p",40);
end;
 
OnPCLogoutEvent:
if( getgmlevel() == 99 ) announce "EndlessRO GM "+strcharinfo(0)+" has logout.",0;
else if( getgmlevel() == 90 ) announce "EndlessRO Head GM "+strcharinfo(0)+" has logout.",0;
else if( getgmlevel() == 50 ) announce "EndlessRO Head GM Police/Event "+strcharinfo(0)+" has logout.",0;
else end;
end;
}
Viewed 1550 times, submitted by Emistry.