Blob


1 version=pmwiki-2.3.20 ordered=1 urlencoded=1
2 agent=Mozilla/5.0 (Linux; Android 7.0; MI MAX) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
3 author=GuardiaN
4 charset=UTF-8
5 csum=
6 ctime=1679365468
7 host=2001:448a:1021:527c:d7b:9581:2030:2dda
8 name=Eggdrop.TCLErorrWhileExecutingPackage
9 rev=10
10 targets=
11 text=%25center%25How to load a Tcl script in Eggdrop%0a%0a%0aAs a reminder, you can look at the bottom of the config file included with Eggdrop for an example of how to load Tcl scripts on your Eggdrop. Assuming the script is located in the scripts folder of your Eggdrop's directlry, simply add the line 'source scripts/scriptname.tcl` and rehash the Eggdrop. To remove a script, remove the source line and restart (not rehash!) the Eggdrop.%0a %0aSome scripts require additional packages to be installed above what is installed as part of a 'vanilla' Tcl install. You'll know you need this if you see an error similar to:%0a%0a%25center%25Tcl error in file 'eggdrop.conf':%0a%0a can't find package tls%0a while executing%0a "package require tls"%0a%0aor%0a%0a Tcl error in file 'eggdrop.conf':%0a can't find package json%0a while executing%0a "package require json"%0a%0a%0aWhen trying to run a script. On debian-based systems, the easiest way to install these libraries is to run %0asudo apt-get install tcl-tls %0ato install the TLS Tcl library,%0a sudo apt-get install libsqlite3-tcl %0afor the sqlite Tcl library, and%0a sudo apt-get install tcllib %0afor just about everything else.%0a%0aIf that doesn't work, than manually install tcl%0a %0a%0awget https://core.tcl-lang.org/tcltls/uv/tcltls-1.7.22.tar.gz%0a%0atar -xzf tcltls-1.7.22.tar.gz%0a%0arm -rf tcltls-1.7.22.tar.gz%0a%0acd tcltls-1.7.22%0a%0a./configure%0a%0amake (as root)%0a%0amake install%0a%0a%0aIf that did help, or you got a error like:%0aconfigure: error: Unable to get OpenSSL Configuration%0athan you should install some extra packages%0a%0asudo apt-get install -y autoconf g++ make openssl libssl-dev libcurl4-openssl-dev%0a%0asudo apt-get install -y libcurl4-openssl-dev pkg-config%0a%0asudo apt-get install -y libsasl2-dev%0a%0a%0aHave Nice Your Chat And GoodLuck !!%0a
12 time=1679367683
13 author:1679367683=GuardiaN
14 diff:1679367683:1679367514:=48,59c48%0a%3c If that did help, or you got a error like:%0a%3c configure: error: Unable to get OpenSSL Configuration%0a%3c than you should install some extra packages%0a%3c %0a%3c sudo apt-get install -y autoconf g++ make openssl libssl-dev libcurl4-openssl-dev%0a%3c %0a%3c sudo apt-get install -y libcurl4-openssl-dev pkg-config%0a%3c %0a%3c sudo apt-get install -y libsasl2-dev%0a%3c %0a%3c %0a%3c Have Nice Your Chat And GoodLuck !!%0a---%0a> %0a
15 host:1679367683=2001:448a:1021:527c:d7b:9581:2030:2dda
16 author:1679367514=GuardiaN
17 diff:1679367514:1679367493:=46d45%0a%3c %0a
18 host:1679367514=2001:448a:1021:527c:d7b:9581:2030:2dda
19 author:1679367493=GuardiaN
20 diff:1679367493:1679367441:=34d33%0a%3c %0a36d34%0a%3c %0a38d35%0a%3c %0a40d36%0a%3c %0a42d37%0a%3c %0a44d38%0a%3c %0a
21 host:1679367493=2001:448a:1021:527c:d7b:9581:2030:2dda
22 author:1679367441=GuardiaN
23 diff:1679367441:1679367338:=33a34%0a> %0a
24 host:1679367441=2001:448a:1021:527c:d7b:9581:2030:2dda
25 author:1679367338=GuardiaN
26 diff:1679367338:1679367263:=35a36%0a> %0a36a38%0a> %0a37a40%0a> %0a38a42%0a> %0a39a44%0a> %0a
27 host:1679367338=2001:448a:1021:527c:d7b:9581:2030:2dda
28 author:1679367263=GuardiaN
29 diff:1679367263:1679367195:=34d33%0a%3c %0a36d34%0a%3c %0a38d35%0a%3c %0a40d36%0a%3c %0a42d37%0a%3c %0a44d38%0a%3c %0a46d39%0a%3c %0a
30 host:1679367263=2001:448a:1021:527c:d7b:9581:2030:2dda
31 author:1679367195=GuardiaN
32 diff:1679367195:1679367057:=29,39d28%0a%3c %0a%3c If that doesn't work, than manually install tcl%0a%3c %0a%3c %0a%3c wget https://core.tcl-lang.org/tcltls/uv/tcltls-1.7.22.tar.gz%0a%3c tar -xzf tcltls-1.7.22.tar.gz%0a%3c rm -rf tcltls-1.7.22.tar.gz%0a%3c cd tcltls-1.7.22%0a%3c ./configure%0a%3c make (as root)%0a%3c make install%0a
33 host:1679367195=2001:448a:1021:527c:d7b:9581:2030:2dda
34 author:1679367057=GuardiaN
35 diff:1679367057:1679365514:=21,28d20%0a%3c %0a%3c When trying to run a script. On debian-based systems, the easiest way to install these libraries is to run %0a%3c sudo apt-get install tcl-tls %0a%3c to install the TLS Tcl library,%0a%3c sudo apt-get install libsqlite3-tcl %0a%3c for the sqlite Tcl library, and%0a%3c sudo apt-get install tcllib %0a%3c for just about everything else.%0a
36 host:1679367057=2001:448a:1021:527c:d7b:9581:2030:2dda
37 author:1679365514=GuardiaN
38 diff:1679365514:1679365468:=9d8%0a%3c %0a13d11%0a%3c %0a15d12%0a%3c %0a
39 host:1679365514=2001:448a:1021:527c:d7b:9581:2030:2dda
40 author:1679365468=GuardiaN
41 diff:1679365468:1679365468:=1,18d0%0a%3c %25center%25How to load a Tcl script in Eggdrop%0a%3c %0a%3c %0a%3c As a reminder, you can look at the bottom of the config file included with Eggdrop for an example of how to load Tcl scripts on your Eggdrop. Assuming the script is located in the scripts folder of your Eggdrop's directlry, simply add the line 'source scripts/scriptname.tcl` and rehash the Eggdrop. To remove a script, remove the source line and restart (not rehash!) the Eggdrop.%0a%3c %0a%3c Some scripts require additional packages to be installed above what is installed as part of a 'vanilla' Tcl install. You'll know you need this if you see an error similar to:%0a%3c %0a%3c %25center%25Tcl error in file 'eggdrop.conf':%0a%3c can't find package tls%0a%3c while executing%0a%3c "package require tls"%0a%3c or%0a%3c Tcl error in file 'eggdrop.conf':%0a%3c can't find package json%0a%3c while executing%0a%3c "package require json"%0a%3c %0a%3c %0a
42 host:1679365468=2001:448a:1021:527c:d7b:9581:2030:2dda