on *:TEXT:*:#: {
if ( Good Morning isin $strip($1-)) {
/MSG # Good Morning $nick
}
}
really kinda simple just make a few changes for a new response
on *:TEXT:*:#: {
if ( Good Morning isin $strip($1-)) {
/describe # Good Morning $nick
}
}
to reply in purple
or even more complex for exact spelling responce use this one
on *:TEXT:*:#: {
if (* Good Morning * iswm X $strip($1-) X) {
/MSG # Good Morning $nick
}
}
this one has to be exact spelling
the ones above can get away with misspell
like good morningg
and the script will response
And add another line and you can get it to pm you who an on what channel said Good Morning
on *:TEXT:*:#: {
if (* Good Morning * iswm X $strip($1-) X) {
/MSG # Good Morning $nick
/msg $me 4 $nick at $timestamp $day $adate said $strip($1-) on $chan
}
}
you can add anothe line an have it send all the info to your logs it can go on forever lol have fun
Ferrellhodges@yahoo.com
Last edited by NufSaid; 05/02/11 09:51 PM.