| View previous topic :: View next topic |
| Author |
Message |
achilles1900 Voice
Joined: 21 Apr 2008 Posts: 30
|
Posted: Mon Aug 04, 2008 2:37 pm Post subject: Main Channel Reply Instead of Notice |
|
|
Hi,
Im running TxTGreet 1.0 by darles.
When users request to see their greets, the bot replies in 'notice' instead of in the main channel where I want it to display. Can anyone do a slight tweak on this? Thanks in advance
Script section follows:
}
proc mygreet {nick uhost hand chan arg} {
global patch yourgreet
if {[file exist /$patch/$nick.txt]} {
set file6 [open /$patch/$nick.txt r]
gets $file6 text
close $file6
putserv "NOTICE $nick :$yourgreet: \[$nick\] $text"
} |
|
| Back to top |
|
 |
doggo Halfop
Joined: 05 Jan 2010 Posts: 97
|
Posted: Fri Jan 22, 2010 7:59 am Post subject: Re: Main Channel Reply Instead of Notice |
|
|
| achilles1900 wrote: | Hi,
Script section follows:
}
proc mygreet {nick uhost hand chan arg} {
global patch yourgreet
if {[file exist /$patch/$nick.txt]} {
set file6 [open /$patch/$nick.txt r]
gets $file6 text
close $file6
putserv "NOTICE $nick :$yourgreet: \[$nick\] $text"
} |
make changes to the following line
| Code: | | putserv "NOTICE $nick :$yourgreet: \[$nick\] $text" |
change to
| Code: | | putserv "PRIVMSG $chan :$yourgreet: \[$nick\] $text" |
then rehash and try  _________________ NON geeky!! http://gotcode4u.com/ |
|
| Back to top |
|
 |
|