User talk:Mrcoolbp: Difference between revisions

From SoylentNews
Jump to navigation Jump to search
(IRC automation)
No edit summary
Line 3: Line 3:




hi mrcoolbp. if you're keen to muck around with irc bots, i can help set you up with an exec bot, or if you want you can make an irc script without any need to code any irc-related stuff. chromas did this with the exec mackey php script [[https://github.com/crutchy-/php/blob/master/mackey.php]]. the translate script is pretty simple [[https://github.com/crutchy-/test/blob/master/scripts/translate.php]].
hi mrcoolbp. if you're keen to muck around with irc bots, i can help set you up with an exec bot, or if you want you can make an irc script without any need to code any irc-related stuff. the translate script is pretty simple [[https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/translate.php]].
it's pretty basic but like arti mentioned it lends itself to tinkering due to process separation.
it's pretty basic but like arti mentioned it lends itself to tinkering due to process separation.
info here: [[http://wiki.soylentnews.org/wiki/IRC:exec]] source here: [[https://github.com/crutchy-/test]]
info here: [[http://sylnt.us/exec]] source here: [[https://sylnt.us/execsrc]]
also, whilst the irc bot itself is php, scripts can be in any langage you can run from the cli (including compiled binaries)
also, whilst the irc bot itself is php, scripts can be in any langage you can run from the cli (including compiled binaries)
anyways, drop me a line if you want. chromas is also into php and pascal bot development. xlefay is also a php guy though he's keen to develop a bot using python. i think he's pretty keen to get some collaboration going too. cheers. ~ [[User:Crutchy|crutchy]] 23:29, 18 July 2014 (UTC)
anyways, drop me a line if you want. chromas is also into php and pascal bot development. xlefay is also a php guy though he's keen to develop a bot using python. i think he's pretty keen to get some collaboration going too. cheers. ~ [[User:Crutchy|crutchy]] 23:29, 18 July 2014 (UTC)
Line 12: Line 12:
<hr>
<hr>
hi mrcoolbp.
hi mrcoolbp.
re: "Get email and IRC "!suggestions" piped directly to wiki)" from the [[CommunitySupport]] page, the IRC component is possible already.
re: "Get email and IRC "!suggestions" piped directly to wiki)" from the [[CommunitySupport]] page, this is currently available for anyone identified with NickServ with the ~suggest, ~suggest-api and ~suggest-exec IRC commands.
The source code is available here: https://github.com/crutchy-/test/blob/master/scripts/wiki.php
It uses the exec wiki account, which is set as a bot (so changes don't appear in wiki recent changes list by default) and the bot flag is required for writing to the wiki using the mediawiki api.
Manual usage is pretty simple:
Anyway, all my github source is gpl2 so feel free to pilfer (if any of it is useful).
<pre>
~wiki login
~wiki title[|section] (gets [section] content)
~wiki edit title|section|text
~wiki edit title|section| (deletes section)
~wiki logout
</pre>
These are just aliases for commands executed by the exec bot, and at the moment are only recognised for authorized nickserv accounts (I can add yours if you wanna have a play around with it). The feeds script (source here: https://github.com/crutchy-/test/blob/master/scripts/feeds.php) gives examples of how to make use of the wiki functionality from within scripts (with internally handled messages by the bot that don't appear on IRC).
Access control is pretty simple. Can limit to a list of nickserv accounts and channels. It currently uses the exec wiki user account, which is set as a bot (so changes don't appear in wiki recent changes list by default) and the bot flag is required for use of the mediawiki api used by exec.
Anyway, all my github source is gpl so feel free to pilfer (if any of it is useful).
IRC automation is probably the one area that I enjoy and seem to be able to do fairly easily, so if there are any other IRC automation tasks on anyone's todo lists that don't already have someone allocated to them, I'm happy to give it a shot.
IRC automation is probably the one area that I enjoy and seem to be able to do fairly easily, so if there are any other IRC automation tasks on anyone's todo lists that don't already have someone allocated to them, I'm happy to give it a shot.
Anyway, sorry for filling up your talk page. Have a great day. ~ [[User:Crutchy|crutchy]] 22:11, 22 July 2014 (UTC)
Anyway, sorry for filling up your talk page. Have a great day. ~ [[User:Crutchy|crutchy]] 22:33, 8 November 2014 (UTC)

Revision as of 22:33, 8 November 2014

Feel free to drop me a line here and sign your comment with: ~~~~
(your signature will look like this: mrcoolbp (talk) 19:51, 18 July 2014 (UTC))


hi mrcoolbp. if you're keen to muck around with irc bots, i can help set you up with an exec bot, or if you want you can make an irc script without any need to code any irc-related stuff. the translate script is pretty simple [[1]]. it's pretty basic but like arti mentioned it lends itself to tinkering due to process separation. info here: [[2]] source here: [[3]] also, whilst the irc bot itself is php, scripts can be in any langage you can run from the cli (including compiled binaries) anyways, drop me a line if you want. chromas is also into php and pascal bot development. xlefay is also a php guy though he's keen to develop a bot using python. i think he's pretty keen to get some collaboration going too. cheers. ~ crutchy 23:29, 18 July 2014 (UTC)



hi mrcoolbp. re: "Get email and IRC "!suggestions" piped directly to wiki)" from the CommunitySupport page, this is currently available for anyone identified with NickServ with the ~suggest, ~suggest-api and ~suggest-exec IRC commands. It uses the exec wiki account, which is set as a bot (so changes don't appear in wiki recent changes list by default) and the bot flag is required for writing to the wiki using the mediawiki api. Anyway, all my github source is gpl2 so feel free to pilfer (if any of it is useful). IRC automation is probably the one area that I enjoy and seem to be able to do fairly easily, so if there are any other IRC automation tasks on anyone's todo lists that don't already have someone allocated to them, I'm happy to give it a shot. Anyway, sorry for filling up your talk page. Have a great day. ~ crutchy 22:33, 8 November 2014 (UTC)