Im having problems using the putquick command in a script i have. I use a 1.6.17 eggdrop running on FreeBSD that monitors a remote game server and looks for the name "admin-needed" and if found it announces to my IRC channel.
The code i want to use (and that doesnt work) is
Code: Select all
putquick "NOTICE #channel-name :FOUND $name on $server"
The communication with the game server is working fine and i can get the script to work correctly if i use
Code: Select all
putquick "PRIVMSG #channel-name :FOUND $name on $server"
Code: Select all
putquick "NOTICE \#channel-name :FOUND $name on $server"
Code: Select all
set gamechan "#channel-name"
putquick "NOTICE $gamechan :FOUND $name on $server"
Code: Select all
set gamechan "#channel-name"
putserv "NOTICE $gamechan :FOUND $name on $server"
Code: Select all
putserv "NOTICE #channel-name :FOUND $name on $server"
Code: Select all
putserv -quick "NOTICE #channel-name :FOUND $name on $server"
All of the above fail without any errors. If i specify a nick to send the notice to instead of the channel name then the notice works - but i cannot seem to get it to post to my channel. I have to use the #channel-name as the script isnt on a trigger but runs on a timer and so isnt called from a particular user or channel but the output only goes to one specific channel.
Any help or ideas greatly appreciated.
thx
Reserve