Considering how many people, including me, have suggested that they want some sort of way to prevent missing people while RC is minimized, I thought I would script up something. All servers are welcome to use this. Just stick it in your NPC server. To activate it, just type
/npclogins in your rc chat.
NPC Code:
if (rcchat)
{
if (strequals(#p(0),logins))
{
timeout=1;
setstring this.alert,accountnames,here;
this.oldcount=allplayerscount;
}
}
if (timeout)
{
if (this.oldcount<allplayerscount)
{
for (this.i=0;this.i<allplayerscount;this.i++)
{
with (allplayers[this.i])
{
if (lindexof(#a,this.alert)!=-1)
{
sendpm A player logged in;
}
}
}
this.oldcount=allplayerscount;
}
if (this.oldcount>allplayerscount)
{
this.oldcount=allplayerscount;
}
timeout=1;
}