well, I took all of the messages from your first script, but, there's the problem is that "URL.." has to be in the text, it's not, only "URL" is..here's the script to keep :P
on *:TEXT:*:#mychan: {
if ($nick == JohnDoe) {
if (Attention isin $1-) && (Everyone isin $1-) {
.splay alarm.wav
window -b @JohnDoe
echo 7 -t @JohnDoe $nick $+ >> $1-
}
if (Name.. isin $1-) {
window -b @JohnDoe
echo 7 -t @JohnDoe $nick $+ >> $1-
}
if (URL.. isin $1-) {
window -b @JohnDoe
echo 7 -t @JohnDoe 13 $nick $+ >> $1-
echo 7 -t @JohnDoe 8 $nick $+ >> $str(-=,10)
}
}
}
-still untested
YAY!
that one WORKED!!!
ok, so those periods/dots after the "name" and "url" part was the problem. quick question -
i tried to do some experimenting... edited the script so it now looks like:
if (Name isin $1-) {
window -b @JohnDoe
echo 7 -t @JohnDoe $nick $+ >> $1-
}
if (URL isin $1-) {
window -b @JohnDoe
echo 7 -t @JohnDoe 13 $nick $+ >> $1-
echo 7 -t @JohnDoe 8 $nick $+ >> $str(-=,10)
}
}
}
now, i tried to announce:
Attention Everyone!
Name: This is a test.
URL:
http://www.pleasework.comin the main channel but this time, the name and url part didn't show up in the new window again. since this time, there are no periods/dots after the name and url part, how can i make it show on the new window?
many many MANY thanks for all the help!