Oh, some of the results are too large to fit into one message, so it splits it into two, and sends both simultaniously. I'm having problems with a IRC server booting me for spam, so it would be nice to fit long messages into one single message, with a link at the end to expand it if need be.
Example for the link:
: !wa 2+2 | 2+2 | 4 | four | * * * * | http://www.wolframalpha.com/input/?i=2%2B2That helped, it now shows the languages being translated. I made a quick workaround using
if ( word isin $1- ) { return }
It isn't the best, but it works. I may try to work something in like using if the confidence interval in between a set range, to check for exclusions, and then determine to run based off those two factors.
This code. Is. Amazing. Seriously, it is the most helpful code I've seen so far, and you put a lot of time into it. That being said...
1) none of the exceptions I've added seem to work ("haha" still triggers on that exact text).
2) It doesn't add in the language codes (just returns []-[])
3) Setup would be easier if done with variables and not a hashtable. I want to be able to copy paste my channel list somewhere, not go to each one and click a bunch.
Still, VERY impressive code, and I'm just nitpicking (and hoping for the fix!) :)
Thanks a TON
How would you make it not use two lines on the bot? I run this on a channel that has a time limit between posts, so messaging "searching google......" and then posting is not feasible. I think the answer is in this line, though I've tried cutting parts of it to no success.
else { $1-2 $4 $+ ($5,$hget($sockname,$+(item,%start))) $+(,$6,$hget($sockname,$+(url,%start)),) }
I think the $1-2 is banded to the text, though I'm not that familiar with mirc -quite- yet.
Whenever a link is posted, I don't see what the script is writing to the channel. Is there a way to fix it?
IE
ON THE BOT
[03:17] <@tester> http://www.youtube.com/watch?v=IPEnEkBY-9U
ON PERSON POSTING
[03:16] <@tester> http://www.youtube.com/watch?v=IPEnEkBY-9U
[03:16] <@bot> YouTube Title: Wolf's Retarded Mission Episode 1 Views: 416,103 Likes: 3,163 Disikes: 160 Upload Date: Jun 4, 2008