//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;
}