@nml375 : Ah yes, this was the issue. Thanks.
@willyw : Unfortunately this command doesn't return any response on irssi.
The article says to use
Code: Select all
bind pub - "hi" MyScript::respond
Code: Select all
bind pub - "hi" ::MyScript::respond
Code: Select all
if {[channel get $chan that-flag]} {
...
Code: Select all
if {![channel get $chan that-flag]} { return }
if ...
...
Code: Select all
[09:22:15] [@] daigo!daigo@irc.daigo.com PRIVMSG #daigo :!tweet test
[09:22:15] Tcl error [proc:tweet]: invalid command name "is"