This script is updated and working again using the Oauth Single token method. Please see the introduction at the top of this page for proper setup.
Please post any problems or issues here.
@skottiejay I still have this script working on both 6.3x and 7.x . Please make sure you are using the updated code at the top of this page.
The shut off date for google translate api is December 1, 2011. I will post an update much before that day.
@Aha2Y This isn't outdated. I use this script every day. Just tested again with a clean paste into mIRC 7.17 on Win7 x86 & XP Service Pack 2, mIRC 6.35 on Win7 x86, and mIRC 7.19 on OpenSuse 11.3 w/wine.
Many things can cause the 401 error. 1st check your mIRC settings. Tools->Options->Other->Lock: Make sure "decode" and "Run" are NOT disabled.
Another issue that could cause this is an invalid timestamp. This script uses $gmt but it is only correct if your system clock is set correctly. Twitters api is picky about this , so it is better if you change your time settings to automatically update with a time server.
If none of this helps you, please post back here and include your Operating system type. Please specify 32 or 64 bit.
If you fix the noop error, the script will still fail on the $regsubex use, as both noop and $regsubex were added with 6.17. I suggested 6.21 because $regsubex had some bugs in 6.17.
So in addition to changing the noop command, you also have to convert the $regsubex to $regsub or some other solution. You would also have to add a few equal (=) signs where vars are being set and need pre-evaluated.
Should be easier just to upgrade.
Read the comments at the top of the script and you will see how to easily change it to print any way you want it to.
If their is a field that you would like to see added to the script, post the request here and I will add it to the hash as soon as I can.
No problem henbone11 .
Just to explain those colors a little.
$chr(15) = Cancels out all other text formating. ie. bold/color/underlined/etc.
$chr(2) = Bold
$chr(31) = Underlined
$chr(3) = color code
*Note. I used the chr() method for this post because some people have had problems with the color codes getting lost from copy to paste. You don't have to use this method. You can replace them by using ctrl+k , ctrl+b etc.
Just make sure there is at least a $chr(15) Assigned to each variable.
@henbone11 The @ trigger will only message the channel if the user has halfops or higher. If the user doesn't have halfops the @ trigger still works but it will only notice them. The ! trigger will always just notice the user. If you want the triggers to act differently , please explain and I will make an edit for you.
@hxck Your welcome.
Cool :)
Since you just now have the new update , take a look at the comments at the top of the script. You can now easily edit it to show only the info you want, the way you want , with the colors you want.
Any questions , just post them here and I'll be glad to explain or help you with your edit.
Hmm, I just tested this clean on both 6.36 and 7.1x .
So... Try this from the bot : /eimdb some movie name here
I'm guessing that you may have been using an older version of this script that doesn't need channel activation.
A month or so ago I changed it to require you to type +imdb in each channel you want the script to run in.
If this is the case. Just type +imdb from a second client that has Ops.
I'm going to try to quickly explain how this works because I'm getting a lot of questions from people wanting to make a youtube downloader in another language.
First : They keep changing it , but the solution can always be found in the source ; in the flash player section.
Currently it starts like this:
Code
In this section you can find all the information you need to download a video between
Code
And
Code
I used this regex match to get the information between them.
Code
Once you have The url information you can use most any urldecode function to decode it so you can read it.
It will start out something like this:
Code
Crazy ;/ I know.
After you run it through urldecode it will look something like this:
Code
Still pretty crazy looking, but if you study it you will see a patern.
There is a number, a pipe(|)(chr(124), and then a link.
If you follow the link to the end you will see a comma (,)
And then it starts over with a number.
So basically it is: XX|http://............................,XX|http://...................................,XX|http://.........................,etc.
So the first step is to split them at the comma(,) and toss the comma. It's just there as a delimiter and is not needed.
Now what is the Number before the pipe(|)
After a little research , I found that it is the numeric for the fmt video quality that the link points to.
@marocnl Sorry I missed your earlier comment. That link is a google search page rss and it's format doesn't match any "normal" rss page styles. This script will Not be adjusted to work with these types of feeds. It would basically be nesting a whole other script into this one to get it to work with google search rss. Besides , this script would need to be rewritten from scratch because search rss sends lines up to 10 thousand characters long and this script was not made to handle that.
I may consider writing another rss script to cover all of googles crazy feed types, but right now I don't know anyone else who uses them. What exactly do you use a feed page like this for ?
btw. I do accept script requests from irc.geekshed.net #Script-Help . From these forums I will only make small adjustments/fixes to the scripts I have posted.
@kylethegeek It shouldn't be that hard to adapt for https. Do you have an example feed link that I can use for testing ?
I'll check into it blackvenomm666 and see if I can find the problem. I have the cards , so if nothing else I can upload them somewhere else and make a small edit to the script.
@blackvenomm666 This script is currently on my "Dead" list because of the changes that youtube has made to stop direct downloads.
This is , however , on my rewrite list. I will , at some point , find the time to make a dll or whatever it takes to get it working again.
Yea it was toclafane. I actually wasn't even done with it and he said he liked the way it worked so I didn't finish it.
-->> http://pastebin.com/Hek82T4B
I only parsed the lines he asked for and it prints straight out in like 5 lines or something.
No Idea why he asked both of us to make the same script though ;/
@dylan8` just go here and make your own bot -->> http://www.pandorabots.com/
Once you have your bot set up you can use the enter bot id option from the right click menu on the channel to add your bot to a channel using it's id. Training a pandoras bot is a lot of work but it's not really that difficult. Good luck :)
Please post any problems or issues here.