I have updated the imdb script I use to correspond to the IMDB changes that they have made recently. The script works only as a private message. When I try to use the trigger in a channel it does not display, however, if I do the same trigger as a private message I get the information without a problem. Is there a solution to this problem? Thanks.
The script uses 2 different procs -- one for a public reply (imdb_handler) and one for a msg reply (imdb_msghandler). You have to make the same changes to both to get it working. It may be kind of silly and wasteful to make two different procs when all you would have to do is set a couple variables at the beginning to combine it all into one, but that was the way it was written.
ok. I see in the script where the two differnet handlers are. What would I have to change? I put the tt in with the imdb path. And I replaced a string of code with this set title [string range $title 13 [expr [string length $title] - 2]]/
It's best to just use a find function or a replace one in the editor you're using to edit the tcl and replace ALL instances where the line comes up, because like in this case, both of those lines come up twice, once for each procedure in this particular script.
yeah, I already did what that link you posted said and it fixed it from not working at all. now it doesnt work as a public command, only if you msg the bot with the !imdb. How do I fix this?