Dont know if this is what you looking for, but i give it a try.
on *:TEXT:*:#: {
if ( b**ch isin $1- ) { msg $chan Give that b**ch a cannon! B**ches love cannons! }
}
that does the same thing my current script does as it sits. i tried adding an elseif line, but it doesn't seem to work, i think i've got the syntax wrong.
on *:TEXT:*:#: {
if ( b**ch isin $1- ) { msg $chan Give that b**ch a cannon! B**ches love cannons! }
elseif (Aneko isin $1- ) { msg $chan No cannon for her. }
}
b**ch activates the script, Aneko activates on it's own line, but not when the word b**ch is present. then the response to b**ch over rides it.
So right now, the sentence
"She is a b**ch"
results in the bot replying:
"Give that b**ch a cannon! B**ches love cannons! "
The sentence
"Aneko is a b**ch"
Gives the same result. What i'm looking to do is make it so the sentence
"Aneko is a b**ch"
Results in the bot replying with
"No cannon for her."