Code: Select all
bind join - * notice:user
proc notice:user {nick uhost hand chan} {
if {[validuser $hand]} {
puthelp "NOTICE $nick :<your line here>"
}
}
change:Sir_Fz wrote:Code: Select all
bind join - * notice:user proc notice:user {nick uhost hand chan} { if {[validuser $hand]} { puthelp "NOTICE $nick :<your line here>" } }
Code: Select all
if {[validuser $hand]} {
Code: Select all
if {![validuser $hand]} {
Negative.. what he said is that he has text which goes onto the next line, such as:Sir_Fz wrote:you must've skipped the ":"
example:
puthelp "PRIVMSG $nick :Welcome to $chan"
not puthelp "PRIVMSG $nick Welcome to $chan"
The problem is, is that eggdrop strips \n's and other characters from the server queues (while a server will accept multi-lines from a client, this would still be incorrect because there wouldn't be a server command issued with the subsequent lines)...This is line 1
This is line 2
Code: Select all
foreach line [split $text \n] {
puthelp "NOTICE $nick :$line"
}