your encrypted channel communications are irrelevant to that (and any other) channel script
if you want the script to understand and reply with encrypted text, customize it to suit your needs - incorporate [decrypt] and [encrypt] in the public trigger and output procs respectively
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use
hey, neat script i just installed it and it seems to work fine with query's to the bot but when i try and use a pub command in channel it doesn't do anything, won't display results and looks like doesn't even search. i've tried looking through the tcl and because im a noob and don't know how to code i can't seem to find the error thats causing it to not display when accessed through channel commands.
Wondering if there is a fix as i have the current version running with http.tcl loaded and still the same result even though im running the bot off a linux shell i thought maybe http.tcl would fix the problem but alas it hasn't
minted wrote:did u .chanset #channel +google ?
it must be enabled for each channel on the partyline
Ofcourse - that was the first thing i checked. It's enabled yet it won't pick up the command in channel, only through private message. I did notice that other scripts did the same i.e incith:weather, variants of google.tcl i've found around the place, and another weather script called meteo.tcl did the same and would only work in pm. I even tried an ask jeeves tcl which didn't work at all seeing as it has no code for pm only public.
The only other tcl that works in channel is the Services TCL v2.2 script i'm using to hold op's in a channel and that seems to work just fine. All pub commands are working so iono whats the go with the others.. It's really got me stumped this one considering the no results bug was fixed in a previous version. Im using eggdrop 1.6.17 so it should be working
No Haters, No Spies, Just the love 'tween my thighs!
Just an update google is working now in channel. It was the way i compiled the bot.. my shell offers 2 methods "getdrop deafult" or "getdrop 32" which allows 32 char nicks .. i had it on the 32 option so i switched back to default and voila! it worked! Mind you i still have in the eggdrop.conf file set maxchar to 32 or w/e the option is called tho i havn't experienced any problems yet with it reading nicks longer than 9 char..
So after all that im glad now i can rest in peace now that the problem is solved.. thanks to all who offered their help, appreciate it alot
No Haters, No Spies, Just the love 'tween my thighs!
define: works fine, they all seem to work fine, except the straight !google . It always says Sorry, no search results were found. I'm running a pretty stock eggdrop conf, any ideas?
Thats weird. When mine was having truoble working it wouldn't recognise any triggers sent... kinda weird how all the others are working yet straight !google doesn't. Maybe try a .restart instead of a .rehash ? or recompile the egg... hopefully u won't need to do that and the .restart should fix it.. if not then iono maybe u might need to recompile after all.
I was using eggdrop1.6.17 for incith:google same with incith:weather and they both work fine now after my recompile.
No Haters, No Spies, Just the love 'tween my thighs!
Thats weird. When mine was having truoble working it wouldn't recognise any triggers sent... kinda weird how all the others are working yet straight !google doesn't. Maybe try a .restart instead of a .rehash ? or recompile the egg... hopefully u won't need to do that and the .restart should fix it.. if not then iono maybe u might need to recompile after all.
I was using eggdrop1.6.17 for incith:google same with incith:weather and they both work fine now after my recompile.
Tried a quick .rehash and .restart with no luck I'm not averse to recompiling the egg, but just curious as to how that would help? I'll keep messing with it... just to check - what's the latest version of the script?
AtomicBanana wrote: Tried a quick .rehash and .restart with no luck I'm not averse to recompiling the egg, but just curious as to how that would help? I'll keep messing with it... just to check - what's the latest version of the script?
I don't know exactly tho when i had problems with google not displaying anything in channel only through private messages regardless if i had set +google in the egg.. i tried rehashing restarting killing and starting the egg all to no avail.. so i just though stuff it i'll recompile and it worked!
Dunno if it will be the same for u but i mean it's worth a shot in the end when you have run out of options.
Latest version is 1.8
No Haters, No Spies, Just the love 'tween my thighs!
Script is working good here too from what I can tell.
I think all the incith:* scripts are due for an overhaul, lol. I think I'll work on :weather 2.0 soon.
Also, the latest version of google can always be obtained from http://xrl.us/j9ya (not sure what it expands to anymore, hehe, woota.net/incith-google-current.tar.gz I think or something)
Anyway, google is of course maintained by madwoota now, and this is where he tars up releases he is working on.. this is the version I use.
madwoota wrote:
(...)
If you have access, check and see if the file "ascii.enc" exists in a subdir under your tcl lib dir.
Eg, its likely to be in: /usr/lib/tcl8.?/encoding/ascii.enc
Or wherever your /lib/tcl8.# dir is.
I found this file in /urs/share/tcl/tcl8.4/encoding
and there is 79 files.
madwoota wrote:
Another option is to type the "tclsh" command from the shell command prompt. When you get the "%" prompt from it, type "encoding names" and you should end up with a list like this:
(...)
I have the same result, but some names in different sequence:
Anyway, to me, this shouldn't solve the problem, but it appears to be working for him. If anyone else is having this problem, try this, otherwise my next attempt would have been to add the line encoding system iso8859-1 somewhere near the top of the file..