teeli / urltitle

Eggdrop scripts that display titles of URLs pasted on an IRC channel
MIT License
8 stars 10 forks source link

Tcl error [UrlTitle::handler]: can't read "delay": no such variable #13

Closed dereckhall closed 7 years ago

dereckhall commented 7 years ago

hello, I'm using eggdrop 1.8.1 compiled on a 64bit linux system.

I receive 'Tcl error [UrlTitle::handler]: can't read "delay": no such variable' in the console after loading the script, performing .chanset, and typing a URL in the channel.

on line 98 i see 'variable delay' I changed this to 'global delay'

this resolved my issue.

teeli commented 7 years ago

That's strange. I've never seen that error myself and the delay variable should work like other variables there. What's your TCL version?

dereckhall commented 7 years ago

Yeah... it was a bit strange

CentOS 6.9 64bit tcl-devel-8.5.7-6.el6.x86_64 tcl-8.5.7-6.el6.x86_64

teeli commented 7 years ago

Actually yeah, it's probably a variable scope issue. I think pull request #12 should fix that, when I get the chance to review, test and merge it properly.

teeli commented 7 years ago

This should probably be fixed in master now