Giter Club home page Giter Club logo

xchat-scripts's Introduction

About

These are some scripts for XChat, an IRC client. It really is just whatever comes in my mind and seems useful at the time, made to quickly work. Testing is minimal, but what ends up in it, should work.

Usage

XChat only autoloads scripts that it finds in its directory (on Linux this is ~/.xchat2/). So you can either copy a script you want into the directory yourself or you can opt to clone the entire repository (eg into ~/.xchat2/scripts/) and then symlinking the ones you want. The upside of the latter approach is that you can update the scripts by issuing git pull.

Add Your Own

I'd like to keep this repo Python only, so if you want something added here, please try to use Python. The XChat plugin uses Python 2 still, so keep that in mind as well. For the XChat documentation, I refer you to

xchat-scripts's People

Contributors

ward avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xchat-scripts's Issues

gcalc - conversion to feet breaks

Possibly others too.

Converting to feet/inches gives the following:

188 centimeters = 6.167979 feet (6 feet 2<sup>1</sup>&#8260;<sub>64</sub> inches)

Which, with current replacements, becomes

188 centimeters = 6.167979 feet (6 feet 2^1&#8260;<sub>64</sub> inches)

(<sup> is replaced by a ^)

Add More Flags

Add more flags to flag.py over time. There's no deadline or milestone for this, just add some as things go on.

/mass <something>?

Allow mass execution of things?

eg

  • mass voice/devoice/op/deop/other modes
  • mass kick(ban)
  • ???

See who the ban affects

When bans get placed, check who in the channel they affect. Possibly also allow checking the banlist against the people in the channel.

gcalc - currency not working

GCalc script doesn't find the result when you enter a currency connversion, eg 1 USD in EUR. Slight difference in Google's source

<h2 class=r style="font-size:138%"><b>5 Canadian dollars = 4.870445 U.S. dollars</b></h2>

/allaway -> /all <command>

Rather than two specific commands (/allaway and /allback), it might be handier to get functionality in the lines of

/all <command>

which then gets executed on all servers.

Perhaps specify options, eg all servers or all channels or all dialogs, ...

Make a script that uses figlet

figlet is a program that turns your text into big ASCII letters, make a script that relies on the program to output big text.

Example of figlet

$ figlet "XChat-scripts"
__  ______ _           _                      _       _       
\ \/ / ___| |__   __ _| |_      ___  ___ _ __(_)_ __ | |_ ___ 
 \  / |   | '_ \ / _` | __|____/ __|/ __| '__| | '_ \| __/ __|
 /  \ |___| | | | (_| | ||_____\__ \ (__| |  | | |_) | |_\__ \
/_/\_\____|_| |_|\__,_|\__|    |___/\___|_|  |_| .__/ \__|___/
                                               |_|            
$ figlet -f mini "XChat-scripts"
   _                         
\// |_  _._|____ _._o.__|_ _ 
/\\_| |(_| |_ _>(_| ||_)|__> 
                     |       
$ figlet -f script "XChat-scripts"
 _       ___  _                                               
(_\  /  / (_)| |                               o              
   \/  |     | |     __, _|_     ,   __   ,_        _ _|_  ,  
   /\  |     |/ \   /  |  |-----/ \_/    /  |  |  |/ \_|  / \_
 _/  \_/\___/|   |_/\_/|_/|_/    \/ \___/   |_/|_/|__/ |_/ \/ 
                                                 /|           
                                                 \|           

gcalc is broken

GCalc doesn't work, guessing Google changed their source again.

Improved banning?

Some all encompassing banning system?

  • Time bans
  • Default kick/kickban messages
  • Autokick list (global and per channel)

Do I ban enough to warrant this effort?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.