Code:
on *:input:#:{
if (yankees isin $1-) {
inc %yankees
}
} 


The key issue is that you were only checking $1 (the first word), not the entire string ($1-)
Checkout isin, isincs in the help file.

Cheers,

DK

Last edited by Darwin_Koala; 06/02/10 08:34 PM.

Darwin_Koala

Junior Brat, In-no-cent(r)(tm) and original source of DK-itis!