Originally Posted By: Darwin_Koala
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


Wow that was really fast! Thanks alot works perfect laugh