I got it somewhat working. This...
NPC Code:
if (actionplayeronline) {
//stuff
for(i=0; i<allplayerscount; i++) {
with(allplayers[i]) if (strlen(#F)=0) setplayerprop #3,head122.png;
}
//more stuff
}
...is what I have so far. Works nice, with the exeption that RCs don't seem to trigger actionplayeronline... so it ends up that the rc will have the default head when the log on untill a player logs on. Any ideas?
I was thinking of having it check for when the rc chat says "New RC: blah blah blah", but I've been having trouble getting the (rcchat) flag to work.