something like this:
[17:11] -car3327:#tube- The Rules of Channel <channel name here>[17:11] -car3327:#tube-
[17:11] -car3327:#tube- 1. There is to be no disrespect or mockery of religions creed or faiths. etc etc..
I want the channel part not to be shown so that it just shows
[17:11] -car3327:The Rules of Channel <channel name here>
[17:11] -car3327:#tube-
[17:11] -car3327: 1. There is to be no disrespect or mockery of religions creed or faiths.
How can I get rid of the channel name coming up?
Code: Select all
# This sets the location of the file you want to be written out to someone in a msg
set bfile "/home/breeze/eggdrop/text/rules.txt"
#sets the command it should go on off in a chan or so
set cmd "!rules"
#this is where you set where the file should be printed out
#private = 0
#channel = 1
set bwhere 1
## don't edit below this line -----------------------------------
bind pub -|- $cmd dumpfile
proc dumpfile {nick handle host chan text } {
global bfile bwhere
set foo [open $bfile r]
while { ! [eof $foo] } {
set line [gets $foo]
if {!$bwhere} {
puthelp "NOTICE $nick :$line"
} else {
puthelp "NOTICE $chan :$line"
}
}
}
putlog "Rules of #mideast written by MidEast"
thanks
Dave R.
west London uk