Page 1 of 1
non-numeric error?
Posted: Wed Aug 18, 2004 12:12 am
by grayfox107
basically i want to detect if there is any pc in the zone but i keep comming up with an error with this. any help would be great
Posted: Wed Aug 18, 2004 12:14 am
by Sparr
==
Posted: Wed Aug 18, 2004 11:33 am
by Mimatas
rofl. I love boolean =.
To take what sparr has so clearly stated, and make it painfully clear:
should be
good luck
PCs in Zone
Posted: Wed Aug 18, 2004 6:51 pm
by Insipid
Now that == is cleared up, I'm wondering if you're going to get what you're after. If you want to know if any PCs are in the zone (besides you), I think you need something like:
Code: Select all
/if ( ${SpawnCount[pc]} > 1 ) {
[ Code to run if there is someone besides you in zone ]
} else {
[ Code to run if it is only you ]
}
Pretty new myself but something I thought of. :D