need irc "bot" that simply responds with X, when someone messages them Y reddit / irc ---------------------------------------------------------------------- houseflip · 2018-04-06 01:21 two column csv, can i have something spit out column 2 if someone messages them column 1? ---------------------------------------------------------------------- nosebleed_tv · 2018-04-06 01:28 Yes ---------------------------------------------------------------------- nosebleed_tv · 2018-04-06 01:29 What irc client are you using ---------------------------------------------------------------------- houseflip · 2018-04-06 01:32 adiirc ---------------------------------------------------------------------- houseflip · 2018-04-06 01:33 ok . . can someone PM me .. i can commission the job ---------------------------------------------------------------------- houseflip · 2018-04-06 01:57 i figured it out on adiirc, now i just gotta figure out if everyone in the chatroom can see it - - -//echo $read(C:\Program Files\AdiIRC\sample.txt, s, TEXT) - - https://dev.adiirc.com/projects/adiirc/wiki/$read ---------------------------------------------------------------------- houseflip · 2018-04-06 02:00 eh. dont think this will work ---------------------------------------------------------------------- KindOne · 2018-04-06 02:04 ```chat.freenode.net #adiirc``` or ```##mirc``` ```irc.swiftirc.net #msl``` (mIRC Scripting Language) or ```#mIRCscripting``` Responce times can vary a lot, so you might get a responce in a few minutes to a few hours. Adiirc can run mIRC scripts so you might get better help if you 'shotgun' the question in multiple channels. ---------------------------------------------------------------------- nosebleed_tv · 2018-04-06 13:35 Yeah. Been busy but ill look up the scripting language and send you something. Its not worth money though. ---------------------------------------------------------------------- nosebleed_tv · 2018-04-06 13:37 It uses mirc scripts so ill send you one when i get home. ---------------------------------------------------------------------- Lord_Zero · 2018-04-06 14:25 I have created a plugin to do this using the Tennu IRC Framework. Its a Javascript based framework. https://github.com/Tennu/tennu docs - https://tennu.github.io/ And my plugin: https://github.com/Tennu/tennu-respond My plugin depends on a couple other plugins, it saves the responses and trigger words in a sql database which you can use SQLite or host in the cloud! It also supports outputting colors, using the persons nickname that triggered it, and a bunch of other stuff. You can maintain the entire database using commands like `!respond add X/Y` I poured my heart and soul into it for a few weeks. Please do not hesitate to ask for any help getting up and running! ---------------------------------------------------------------------- houseflip · 2018-04-06 14:29 damn ok. i will have to see if im savvy enough to do this hehe. thank you. it sounds like its what i need especially the web hosted CSV (i will convert it to SQL). ive never compiled anything. i can get this running on adiirc? ---------------------------------------------------------------------- Lord_Zero · 2018-04-06 14:54 Well this is a bot in the truest sense, it runs stand alone on your desktop or a server and logs into IRC and joins your room and then it does your bidding. The best perk is that you can logout and he will stay in there. You can add a bunch of other cool plugins, [this one](https://github.com/Tennu/tennu-tell) by far is my favorite. [Here is a list of plugins I have created](https://www.npmjs.com/~lordwingzero) (anything that starts with tennu-*) and [here is a list published by the main Tennu owner](https://tennu.github.io/plugins/). So, getting this up and running may require a little work and effort... especially if you have no JavaScript experience. The first thing you need is [NodeJS](https://nodejs.org/en/download/) on your machine, LTS or Current, it should work on both. Then follow these steps: * Create a folder for your bot like "houseflipbot" * Open a command prompt in that folder and run `npm init -y` * Also run `npm i sqlite tennu-dblogger tennu-dbcore tennu-respond --save` that will download the three plugins you need, and sqlite for your database. * Create a file called `index.js` ### Put this code in it **make sure to update the values** var tennu = require('tennu'); var myClient = tennu.Client({ "server": "irc.your-network.net", "password": null, "port": 6667, "nicknames": ["houseflipbot"], "username": "houseflipbot", "realname": "houseflipbot in tennu", "channels": ["#chan"], "nickserv": "nickserv", "auth-password": null, "plugins": ["dbcore", "dblogger", "respond"], "command-trigger": "!", "disable-help": false, "database": { "client": "sqlite3", "connection": { "filename": "./tennu.sqlite" } } }); myClient.connect(); I have not tested this code, but it should work! Actually, if you give me a minute I might be able to get this working and can upload the files for you. ---------------------------------------------------------------------- houseflip · 2018-04-06 15:07 thank you very much for taking the time for this. i will try this weekend to get it running. i will be in touch probably! with your summary hopefully i get close. nothing youve said scares me quite yet but we'll see ---------------------------------------------------------------------- Lord_Zero · 2018-04-06 15:54 PMed you working code!