Index
Services
About
Projects
Personal
Contact
Orvp
Orvp
Nav

The following XChat script is free to use as you see fit, as long as you don't claim it as your own.*

  • URL Title Say
    • Version: 005
    • Description: Parse through incoming lines for URLs, saying the titles of the url when available. Keep a list of channels to reply in, as well as URLs and Titles not to say.
    • Requires a newer Perl "threads" module. The version that comes with Perl 5.8 is not new enough, however the version distributed with Perl 5.10 is.
    • Requires LWP and YAML Perl Modules
    • Usage: /uts_loadconf reload the configuration from disk
    • Usage: /uts_listmanage <list name> (add|delete|list) [<string>]
    • List NameDescription
      channels_deny Channels to never respond in
      channels_permit If channels are specified, then only those channels specified will work
      nicks_deny Nick names to never respond to
      nicks_permit If nicks are specified, then only those nicks specified will be replied to
      patterns_ignore if a URL matches one of these regex expressions, the title won't be fetched
      titles_ignore if a resulting title matches one of these regex expressions, the title won't be displayed
      Example: /uts_listmanage patterns_ignore add \.(jpe?g|png|gif)$ - ignores all urls ending in .jpeg, .jpg, .png, and .gif, although this is covered by default
    • Usage: /uts_set <variable> [<string>]
    • VariableDescription
      message_format Format of replies for urls
      counter_format String used by {n} only when multiple urls are in the said line
      user_agent String that is reported as the user agent when fetching URLs (blank uses LWP's default)
      self_call Should lines you say also be checked for URLs (default is 0 or no)

      Available macros for message_format and counter_format

      • {t} - The url title
      • {d} - The domain of the url
      • {u} - The full url (will have http:// prefixed if a normal www.)
      • {c} - The channel
      • {w} - Who said the url
      • {n} - The counter string (counter_format) when more than one url is said
      • {i} - Which URL in the message this applies to
      • {I} - How many URLs were in the message
    • Download: urltitlesay-005.pl

* Scripts are (unless otherwise stated) licensed under the zlib license, which is summarized up top.

View all available scripts


orvp.net is owned by Brian Evans
Don't kill me, or I will be mad!
Hosting provided by Clear-Data.com.