[21:00] <o_o> [21:00:27] Tcl error [pubholiday]: invalid command name "checkUser" Sorry about that, I added that función to every públic command to avoid throttling from the users and forgot to delete that líne when I posted the code. I also replaced ${cmdchar} with dot as I have set cmdc...
set API_KEY "AIzaSyD290rR6-rFyDRDD5aOerzxflCfZskE7q0" set SEARCH_ID "eggdrop" The API_KEY seems right but the search ID looks wrong, it has to be obtained from https://www.imarc.com/writable/images/dans_blogs/google_search_engine_copy1.png I really don't remember how I got there...
Another mistake I found. args is a special name and is considered a list, so braces are added between the values. Renaming it solves the problem. With this 2 lines replacing the original ones it should work. proc google {nick host hand chan text} { googleweb $nick $host $hand $chan "" $tex...
hi CP1832 set API_KEY "" set SEARCH_ID "" for the key to work you have to have an id and key on google Indeed, you have to get your own ID and KEY here . but I see another detail, when the question is so: <Arnold_X-P> .google my bot should not answer <@JulieTh> Error: <búsqueda>...
The checkUser procedure is from another script, which I found here , which is used to act as a throttle/flood-limiter and stop people doing !google over and over, CP1832 doesn't seemed to have included it. Indeed, the checkuser script does that. I had added the checkuser to the old script to preven...
Regarding the google API change, I found this script ( http://digdilem.org/irc/index.cgi?entry=2617142644 ) and modified the FordLawnmower script to work with the new google API. This is the Xchat script with the new google API. # # google.tcl - X-Chat TCL script that implements a public !google com...
Yeah, I was using it too and stopped working as the google API (that most google scripts used) is no longer working. Does anyone know any functional google scripts?
I've got two identical bots running the same scripts with the same settings. I've created this simple script for the backup bot to join the mainchannel in case the main bot goes down for some reason and to leave the channel when the main bot joins the channel. For this script to work, both bots have...
All requests now returning 'Please refine your search.' :cry: Yes, that happened to me as well. I replaced "http://classic.wunderground.com/cgi-bin/findweather/getForecast?query=" to "http://www.wunderground.com/cgi-bin/findweather/getForecast?query=" and now the script works ag...
1) Download http://ereader.kiczek.com/incith-weather.tcl 2) Change the "F" on line 942 to "C" 3) Change "C" on line 973 to "F" 4) Change line 1036 to read: regexp -- {data-variable="condition"><span class="wx-value">(.*?)</span>} $html - o...
I created a script so as to be able to change the channel's topic for a given date. foreach bind [binds topic_holiday] {lassign $bind type flags mask num proc; unbind $type $flags $mask $proc} foreach bind [binds pubholiday] {lassign $bind type flags mask num proc; unbind $type $flags $mask $proc} b...
I modified this script I found online to be able to authenticate on dal.net. # Keep nick v2.0 by Mezen <mezen0@msn.com> # This script allows to solve connection issue after receiving # Invalid Nick notice from the network. It will make the bot release # its nickname and identify to it. # This script...