Page 1 of 1

[Abandoned] Urban Dictionary by Pri

Posted: Mon Jul 19, 2010 9:27 am
by Pri
Urban.Dictionary.by.Pri.xml
Urban Dictionary by Pri v0.3a (11th of November 2010)
(18.76 KiB) Downloaded 511 times
Image

Like this script? Check out some of my other awesome scripts!


Warning:
  • Urban Dictionary can contain very strong and graphic language. If you or your community are easily offended you may not want to use this script.
License:
  • You may host this script as is.
  • You may alter the script however you want, but if you propagate your modified version I'd like you to share it publicly :) - If you don't that's cool too.
Setup Difficulty: Easy
  • You must place the file in your Metis Plugins folder & edit your mxc.xml to add the line <include file="Urban.Dictionary.by.Pri.xml"/>
How do I upgrade from an old version?
  • Simply replace the old file with the new one from the top of this post, then restart your bot. Alternatively if you don't want to restart your bot you can enter /mxc load in your bots main chat window, this will make it reload all your plugins without restarting.
Requirements: Features:
  • Script can query urbandictionary.com directly itself
  • Supports all types of queries to Urban Dictionary
  • Can create its own Folders and Files for storage of previously queried data
  • Can automatically notify you of new versions of the script
  • Enables you to set output of the script to Private (Only those who use command see results)
  • Enables you to select how many results appear for a search (1 to 10)
  • Supports Ouka, FXServer, WCS, RCS, RSWCS and ZCS out of the box
  • Includes a Usergroup for you to lock the commands to only users you trust
Commands Included:
  • !Urban [Query] - Lookup information for something at Urban Dictionary.com
  • !PublicUrban - Set the result output to the entire room
  • !PrivateUrban - Set the result output to only users who perform the query
  • !SetUrbanColour [Number] - Set the menu colours to something other than the default Green (#c4#) to better fit your room
  • !UrbanResult [Number] - Set the maximum amount of results to display. Choose a number between 1 and 10
Need to Know Stuff:
  • As above it requires version 2.8 of Metis. If you do not use 2.8 (Or a better version than 2.8) Then this script will not work at all.
  • I am happy to offer you 1 to 1 support in your room with this script if you need it, you can find me in the Renegades room on MX
Changelog:
  • 11th of November 2010: The script now works with Urban Dictionary again, They changed some of their HTML code which broke it.
  • 30th of July 2010: Moved " and & off Server and in to the Code through suggestion by Richy
  • 19th of July 2010: First release v0.1a
Thanks Testers:
  • Wavparty from "LATENight Movies"
  • Shakey from "Angels Movie House"
  • Alice from "The Garden"
  • + others that I may have forgot!
Past Release:
[attachment=1]Urban.Dictionary.by.Pri.xml[/attachment]
[attachment=2]Urban.Dictionary.by.Pri.xml[/attachment]

Re: Urban Dictionary by Pri

Posted: Mon Jul 19, 2010 7:20 pm
by shakes
Thanks Pri, fantashtic program. :D

Re: Urban Dictionary by Pri

Posted: Sat Oct 30, 2010 5:31 am
by Pri
This is just an update to say that this script no longer works. Urban Dictionary modified their website somehow (I've not looked at the site yet) and it breaks this script completely. I will update it when I can but it isn't a top priority like the IMDB script is.

I'll get around to it when I get around to it and if your using Urban in your room you will see an update notification for the new version once its released.

Re: Urban Dictionary by Pri

Posted: Thu Nov 11, 2010 12:09 pm
by Pri
Script now works with urban dictionary again. :D

Sorry for the delay I have just been busy with other things and hadn't got around to looking at the code or the Urban website.

Re: Urban Dictionary by Pri

Posted: Fri Nov 12, 2010 7:01 am
by ?Alice
ty again ;)