mIRC Home    About    Download    Register    News    Help

Print Thread
#248089 19/09/14 11:40 PM
Joined: Sep 2014
Posts: 3
P
propain Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Sep 2014
Posts: 3
Hey
sry for my bad English.
Iam searching a short info !imdb Script
All scripts i found are offline
the script should not be too large by possibility.
if it is possible I would like to receive the German imdb info
Iam using Twitch chat on my Hompage!

Explane:
Command: !imdb Die Verurteilten
Bot answer: Die Verurteilten (1994)
"The Shawshank Redemption"
line2: Ratings: 9,3/10
line3: Stars:Tim Robbins, Morgan Freeman, Bob Gunton
line4: Link : http://www.imdb.com/title/tt0111161/?ref_=chttp_tt_1

I hope someone can help me


propain #248090 19/09/14 11:48 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
There is already an updated bot with your requested feature, have a look into: http://westor.ucoz.com/rafaella


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #248091 20/09/14 01:10 AM
Joined: Sep 2014
Posts: 3
P
propain Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Sep 2014
Posts: 3
Thanks for the quick answer,
I do not need a new mirc bot,
even if it is very good.
Only the Imdb script !
thx

propain #248093 20/09/14 10:39 AM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Have a look into this site maybe you will find that you need.

http://hawkee.com/search/imdb/


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #248102 20/09/14 03:50 PM
Joined: Sep 2014
Posts: 3
P
propain Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Sep 2014
Posts: 3
Thx Westor
The scripte there I've already partially tested, some of it is also very good. but much too large for my purposes. I have no idea of rewriting the scripts. The first on the website is good. I need a script as I described a maximum of 5-7 lines.
Sorry for my claims I am asking here.
Maybe someone can help me

propain #248111 21/09/14 09:39 AM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Maximum 5-7 lines? this cannot be happen on the mIRC scripting, the link above that i gave you all the addons there has the utility to lookup on the imdb.com website and for your search field that you request to display informations and if the addon find any results for your request then it display it to you.

Now with your logic that you want 4-5 lines of code this can be happen but the results will not be real-time and will be manually made with your results, thats the why i gave you the easy way, i suggest you to use one of there in the above website, but if you want to start build your own:

Help: /help on text

example: (I'VE NOT SUGGEST YOU TO USE THIS METHOD!)

Code:
ON !*:TEXT:*:#: {
  var %c = $strip($1-)
  if ($1 == !imdb) {
    if (!$2-) { .notice $nick [ $+ $nick $+ ]: Error, Not enough parameters, try again and enter the movie! | return }
    if ($2- == Die Verurteilten) { .notice $nick [ $+ $nick $+ ]: - Title: Die Verurteilten - Year: 2014 - Ratings: 9,3/10 - Stars: Tim Robbins, Morgan Freeman, Bob Gunton - Link:  http://www.imdb.com/title/tt0111161/?ref_=chttp_tt_1 }
    else { .notice $nick [ $+ $nick $+ ]: This movie is NOT into my database yet! }
  }
}


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard