Sponsored Links




Topic Options
Rate This Topic
#1916 - 05/04/08 05:46 AM Trigger, PM respond, Log it script
OzarkMark Offline
n00b

Registered: 12/21/07
Posts: 17
Loc: Arkansas, USA
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 !greensite

It 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

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top
#1926 - 05/05/08 09:03 PM Re: Trigger, PM respond, Log it script [Re: OzarkMark]
jwire4 Offline
Over 50 posts

Registered: 03/18/08
Posts: 50
Loc: Califotnia
nice laugh!
_________________________
<witty comment here>

Top


Recent Posts
!aop and chanserv
by usr_local
Today at 07:08 PM
Access list
by usr_local
Today at 06:26 PM
How do I identify on Rooms app for iPhone?
by rickasdf
Today at 01:54 AM
my favorite channels on WR
by rickasdf
Today at 01:52 AM
Rules for Voiced (+v) users in #Chris
by GrimReaper
Yesterday at 12:52 PM
Script Bots. Need One?
by Rockbuddy
10/10/08 09:16 PM
Kick and ban ustream spammers
by Rockbuddy
10/07/08 04:21 PM
Commands
by Rockbuddy
10/07/08 04:09 PM
Topic setter's username is appended to topic
by rickasdf
10/06/08 12:55 AM
Kat
by RyanBecker
10/04/08 01:16 PM
Whos wants to help make a bot?
by RyanBecker
10/04/08 09:01 AM
Notifier Tip Script
by Firebucket
10/04/08 01:31 AM
Recent Pics
The Uplink game with IRC!
My Windows Desktop
My Mac Desktop
Who's Online
0 Registered (), 3 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 454
Kat 246
iPhone 106
Phil 90
Freekie 82
techman224 73
CCMike 67
Justin 66
tengrrl 53
wirelesspacket 52
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.