Sponsored Links




Topic Options
Rate This Topic
#1228 - 03/08/08 05:12 PM Word Warnings through Echo
Justin Administrator Offline
WyldRyde Staff

Registered: 10/20/07
Posts: 81
Loc: Arizona
Thanks to Phil, ThunderIT-Allan and therock247uk for their help on this.

This script will output a certain text into a channel that you specify when someone says a word that you want to monitor. I have it for when someone says my nick.

Code:
on ^*:TEXT:*TEXTYOUWANTTOMONITOR*:#:{
  echo $chan $+($chr(3),4,$timestamp,$chr(32),$chr(60),$nick($chan,$nick).pnick,$chr(62),$chr(32),$1-)
  /splay C:\program files\mirc\Justin.wav
  echo #CHANNELNAMEHERE -* $fulldate *- $nick has said your name in $chan saying " $+ $1- $+ "
  halt
} 


For me, I have 'TEXTYOUWANTTOMONITOR' as Justin. and I have #CHANNELNAMEHERE replaced with my channel. When someone says Justin is the coolest person ever, besides Phil, I get an echo (so others cannot see it), in my channel. It echos like this:

-* Sat Mar 08 15:09:36 2008 *- EMH has said your name in #Justin saying "Justin is the coolest person ever, besides Phil."



Edited by Justin (03/08/08 05:23 PM)
Edit Reason: removed ( ) from around $fulldate
_________________________
Justin
Services Admin on Resurrection, Neptune, Atlantis and Odyssey.

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top
#1406 - 03/25/08 05:29 PM Re: Word Warnings through Echo [Re: Justin]
Karol Offline
newbie

Registered: 01/05/08
Posts: 33
Loc: Connecticut
Hey, Justin, I got an error :

* /splay: no such file 'C:\program files\mirc\Justin.wav' (line 3, script10.ini)

Top
#1408 - 03/26/08 12:32 AM Re: Word Warnings through Echo [Re: Karol]
boredcollegekid Offline
newbie

Registered: 12/19/07
Posts: 48
Loc: Tulsa, OK
Quote:
* /splay: no such file 'C:\program files\mirc\Justin.wav' (line 3, script10.ini)


did you change the path to a wav file on your system? that path points to one on Justin's.


Edited by boredcollegekid (03/26/08 12:33 AM)
_________________________

Top
#1409 - 03/26/08 12:34 AM Re: Word Warnings through Echo [Re: boredcollegekid]
Justin Administrator Offline
WyldRyde Staff

Registered: 10/20/07
Posts: 81
Loc: Arizona
You can remove the splay line if you want to. I just have it set to play that .wav whenever someone triggers the word. If you have a sound file you want to play -- just change the file path.

Thanks BCK =)
_________________________
Justin
Services Admin on Resurrection, Neptune, Atlantis and Odyssey.

Top
#1455 - 03/29/08 10:35 PM Re: Word Warnings through Echo [Re: Karol]
Pctech37 Offline
newbie

Registered: 03/26/08
Posts: 33
Loc: Everett, WA
uggh, that is a sound that is on Justin's computer, so you can change that.
_________________________
Hi. I am a forum signature virus. Paste me to your signature(s). *evil laugh*

Pctech37
G33k
Recognized WyldRyde Life Form
#Chris - VOP
#DavisCreation - SOP
#davisops - Founder
#gtaivchat - SOP
#Karol - HOP
#mancode - 5
#McInTEC - VOP
#pctech37 - Founder
#pctech37poker - Founder
#sports - Founder
#turtles - HOP

Top
#1477 - 03/30/08 06:11 PM Re: Word Warnings through Echo [Re: Pctech37]
Pctech37 Offline
newbie

Registered: 03/26/08
Posts: 33
Loc: Everett, WA
btw I have it do:

on ^*:TEXT:*TEXTYOUWANTTOMONITOR*:#:{
echo $chan $+($chr(3),4,$timestamp,$chr(32),$chr(60),$nick($chan,$nick).pnick,$chr(62),$chr(32),$1-)
/splay C:\program files\mirc\Justin.wav
echo #CHANNELNAMEHERE -* $fulldate *- $nick has said your name in $chan saying " $+ $1- $+ "
echo #CHANNELNAMEHERE -* $fulldate *- $nick has said your name in $chan saying " $+ $1- $+ "
echo #CHANNELNAMEHERE -* $fulldate *- $nick has said your name in $chan saying " $+ $1- $+ "
echo #CHANNELNAMEHERE -* $fulldate *- $nick has said your name in $chan saying " $+ $1- $+ "
echo #CHANNELNAMEHERE -* $fulldate *- $nick has said your name in $chan saying " $+ $1- $+ "
halt
}



catches my attn! lol
_________________________
Hi. I am a forum signature virus. Paste me to your signature(s). *evil laugh*

Pctech37
G33k
Recognized WyldRyde Life Form
#Chris - VOP
#DavisCreation - SOP
#davisops - Founder
#gtaivchat - SOP
#Karol - HOP
#mancode - 5
#McInTEC - VOP
#pctech37 - Founder
#pctech37poker - Founder
#sports - Founder
#turtles - HOP

Top


Recent Posts
CHannel Support? @ #Chris
by Mataniah
49 minutes 52 seconds ago
Accept - Reject Pm script. Final Version.
by Phil
Today at 02:04 PM
Script to join channels with 30+ users.
by usrbingeek
Yesterday at 02:32 PM
Rules for Voiced (+v) users in #Chris
by Brandon
Yesterday at 01:05 PM
Ustream IRC Auto Identtifyer
by Dark_Aaron
Yesterday at 10:42 AM
IRC Bot Platforms
by Sam Ferry
Yesterday at 02:58 AM
Get a free forum for your channel!
by Sam Ferry
Yesterday at 02:48 AM
Ban Appeal Process
by Sam Ferry
Yesterday at 02:36 AM
Flood Protection
by Dark_Aaron
01/03/09 08:14 PM
IRCop Script
by Samuel
01/03/09 04:57 AM
A simple topic script.
by Samuel
01/03/09 04:56 AM
Complete Autojoin script.
by Samuel
01/03/09 04:47 AM
Recent Pics
Xchat
mIRC on Linux
mIRC on Linux???
Who's Online
0 registered (), 15 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 512
Kat 281
Phil 112
iPhone 109
Freekie 88
Justin 81
CCMike 78
techman224 75
tengrrl 58
wirelesspacket 53
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.