Archived
1
0
Disbranĉigi 0
Ĉi tiu deponejo arĥiviĝis je 2024-01-29. Vi povas vidi kaj elŝuti dosierojn, sed ne povas puŝi nek raporti problemojn nek tirpeti.
miid/README.md

26 lines
682 B
Markdown
Raw Permalink Normal View History

2021-05-19 23:05:13 -05:00
# miid
miid's a simple IRC bot (hackily) written in shell.
It turns an irc room into a MUD/MUSH/IF-esque room, or at least it tries.
## Running
Use [ii](https://tools.suckless.org/ii/) to connect to your IRC server and
channel of choice― make sure to set up the nick and everything.
Then, you can just run miid every time the channel's output is updated:
2021-05-19 23:10:05 -05:00
2021-05-19 23:10:31 -05:00
$ miid irc/$IRC_NETWORK/$IRC_CHANNEL $BOT_NICK
2021-05-19 23:05:13 -05:00
It helps to have inotifywait installed, so this can be done automatically:
2021-05-19 23:10:05 -05:00
2021-05-19 23:10:31 -05:00
$ while inotifywait -e close_write irc/$IRC_NETWORK/$IRC_CHANNEL/out; \
2021-05-19 23:05:13 -05:00
do \
sh miid irc/$IRC_NETWORK/$IRC_CHANNEL/ $BOT_NICK; \
2021-05-19 23:10:31 -05:00
done
2021-05-19 23:05:13 -05:00
## Commands
Check the ./helpdoc.
## License
CC-0