Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Sep 4, 2019. It is now read-only.
/ponybotPublic archive

Ein irssi-bot, der Ponys anzeigt!

License

NotificationsYou must be signed in to change notification settings

DO1JLR/ponybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Ein irssi-bot, der Ponys anzeigt!

Und wofür?

Die Idee ist, auf bestimmte Schlüsselwörter im IRC Channel (derzeit!pony) ein ASCII-Pony zu malen.Irgendwann könnte das natürlich mal auf mehrere Bots aufgeteilt werden, da sich der IRC oft sehr schwer tut bewliebig viele Zeilen direkt hintereinander ohne Zeitlichen abstand zu schreiben...

Und wie setze ich das wo ein?

Das aussehen der Ponys ist in dem JSON File gespeichert.Welche Channel belauscht werden ist über die globalen Varianten am Anfang des Perl Scripts geregelt.Am besten diese Dateien anpassen und dann ausprobieren.

Hä?

Dieser "bot" ist ein Perl Script, das für das Programm irssi ist...Einfach irssi in einem screen oder tmux starten, dich zu einem Server verbinden.Dort einen Kanal joinen.Dieses git und ASCII-Pony clonen. Ggf. den Kanal in den globalen variablen ergänzen.Sich über ponys freuen!

Abhängigkeiten

Als Abhängigkeiten muss noch das GitHub RepositoryASCII-Pony geklont werden.

Installation:

cd~/.irssi/git clone https://github.com/L3Dokt0r/ponybot.gitgit clone https://github.com/L3Dokt0r/ASCII-Pony.gitmkdir scriptsln -s~/.irssi/ponybot/ponybot.pl~/.irssi/scripts/ponybot.plmkdir scripts/autorunln -s~/.irssi/ponybot/ponybot.pl~/.irssi/scripts/autorun/ponybot.pltouch /tmp/lastpony

Und in irssi:

/script load ponybot.pl

[8]ページ先頭

©2009-2025 Movatter.jp