void main() { // Get the first player object oPlayer = GetFirstPC(); int oPlayers; object oMod = GetModule(); while (GetIsPC(oPlayer) == TRUE) { oPlayers = oPlayers+1; oPlayer = GetNextPC(); //object oTarget = GetObjectByTag("rune1"); AssignCommand(oMod, ActionStartConversation(oPlayer, "vote")); } SetLocalInt(oMod, "vote", oPlayers); }