viewing paste Unknown #5913 | 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 37 38 39 40 41 42 43
//Created by Aeromas
//Ver 1.0
//Compatible with:
//eAthena
//GM Login && Admin login announcement, when new player joins, they're announced PLAYER has joined your RO, and then they get 2 level ups, you can modify it with getitem, or set Zeny, X;
-       script  gmloginannounce -1,{
 
OnPcLoginEvent:
 
        if(getgmlevel() >=99) {
                if(#LoginAnnounce$ == "On")
                {
                        announce "Administrator "+strcharinfo(0)+" has signed in.",bc_all,0x00ff66;
                        end;
                }
        }
        else if(getgmlevel() < 99 && getgmlevel() >= 60)
        {
                if(#LoginAnnounce$ == "On")
                {
                        announce "GM "+strcharinfo(0)+" has signed in.",bc_all,0x00FF66;
                        end;
                }
        }
        end;
}
 
-       scriptjoinyourro        -1,{
 
OnPcLoginEvent:
 
        if(#New_Player == 1) end;
 
        if(BaseLevel==1 && JobLevel == 1)
        {
                announce "Please welcome "+strcharinfo(0)+"  to our server!",bc_all,0x00ff66;
                announce " And for joining our server, we're going to level you up 2 times!",bc_self,0x00ff66;
                atcommand "!baselevel 2";
                set #New_Player,1;
                end;
        }
        end;
}
Viewed 551 times, submitted by unknown.