UW2_PRC8/_module/nss/leveltrigger.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

18 lines
292 B
Plaintext

void main()
{
object oPC= GetEnteringObject();
if (GetIsPC(oPC)) {
string name = GetName(oPC);
int lvl = GetHitDice(oPC);
string lvl2 = IntToString(lvl);
string area = GetName(GetArea(oPC));
string msg = name + ", level " + lvl2 + ", is in " + area + "." ;
SendMessageToAllDMs(msg);
}
}