GithubHelp home page GithubHelp logo

weechat-gateway-replacer's Introduction

Gateway Nick Converter

There are many IRC gateway programs that, rather than sending as if they were another user, simply prepend the name of the user that is using that gateway to the messages they are sending.

For example: slack-irc-bot might send a message to #weechat:

slack-irc-bot: <zv> How about them Yankees?

gateway_rename intercepts that message and converts it to:

^zv: How about them Yankees?

(gateway_rename prefixes the ^ (caret) symbol to each message to prevent message spoofing)

Adding a Renamer:

Which servers, channels, users and nickname templates are renamed can all be modified in plugins.var.guile.gateway_rename.gateways

Two gateways are matched by default, but are primarily intended to serve as a template for you to add others.

Each gateway renamer is placed inside of a set of parenthesis and contain four fields respectively:

  1. IRC server name (use the same name that weechat uses)
  2. Channel
  3. Gateway’s nick/user name
  4. The last field is a template for how to match the nickname of the ‘real user’ For example, if you wanted to convert the message gateway-bot: zv: Yes into zv: Yes You would set the last field to NICK: because each nick at the beginning of the message is suffixed with a :

weechat-gateway-replacer's People

Contributors

zv avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zippyy

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.