|
|
#1228 - 03/08/08 05:12 PM
Word Warnings through Echo
|
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. 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
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]
|
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]
|
newbie
Registered: 12/19/07
Posts: 48
Loc: Tulsa, OK
|
* /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]
|
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]
|
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]
|
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
|
|
|
|
Moderator: AdmiralJustin, Atri, Catt, crrj, dolsen, Freekie, Helio, Jeff, jpmk12, Justin, Kat, mandy, Mist, nobody, Phil, Pierce, Ryan, SuburbanWolf, therock247uk, ThunderIT-Allan, usrbingeek
|
|
0 registered (),
15
Guests and
3
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|