Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

16 lines
413 B
Plaintext

void main()
{
SendMessageToPC(OBJECT_SELF, "PC ==> Area");
string sAlignment = "";
object oPCx = GetFirstPC();
object oArea;
int i = 0;
while (OBJECT_INVALID != oPCx){
i++;
oArea = GetArea(oPCx);
SetLocalInt(oPCx, "iNum", i);
SendMessageToPC(OBJECT_SELF,IntToString(i) + ")" + GetName(oPCx) + " ==> " + GetName(oArea));
oPCx = GetNextPC();
}
}