Here is a one line script that I made to keep from spamming my website link in some chat rooms. You can have a word trigger a response just to the people that 'want' your information without broadcasting it to those who don't.
It takes a trigger like
!greensiteIt will reply via
PM to the person requesting the trigger.
Then append the log file with
Date, Time, Nickname, and #Channel.
on 1:TEXT:!greensite:*:{ { /write -a C:\temp\urlreq.txt $date $time $chr(9) $nick $chr(9) $chan } /msg $nick Hello. You have requested information about www.greenerhomeowner.com which is geared toward alternative energy, the homeowner, and much more than I can list here. Registration is *FREE* and takes just a minute. }Notes:You can use any text to trigger your event. Try to use something short and not used in everyday conversations.
For all channels and PM's use - :
*:
For
Channels only use - :
#:
For
#mychan channel use - :
#mychan:
For
Private message use - :
?:
Make sure your file path is valid.
C:\temp\urlreq.txt is short and simple.
-a is the append switch, so it will just keep adding to the file.
The
$chr(9) can be omitted - They are TAB characters.
You could change the
/msg to
/notice if you wanted to do it that way.
Make sure you have the
} at the end of your text information.
I do not know if it will PM to unregistered nicknames at this time.
This has many more possibilities.
OzarkMark
GreenerHomeowner