Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
project:irc:secretary [2016/11/08 02:29]
over23 [Usefull commands on freenode.net] - auto op, channel flags, allow external
project:irc:secretary [2019/07/15 17:36]
over23 ToDo : ToTest : PushSafer konekce na irssi
Line 1: Line 1:
-====== ​Project to upgrade ​IRC bot ======+====== IRC howtos, freenode.net #labka channel, IRSSI magic & scripts, SECRETARY <3 ======
  
 |**Project owner:**| [[user:​overdrive|Overdrive]] | |**Project owner:**| [[user:​overdrive|Overdrive]] |
 |**Interested:​** | peterbay, [[user:​dave@page]] | |**Interested:​** | peterbay, [[user:​dave@page]] |
-|**Related:​**| [[irc_logs:​best_of_secretary|Best IRC Logs]] |+|**Related:​**| [[irc_logs:​best_of_secretary|Best IRC Logs]] ​--  [[https://​github.com/​Labka-cz/​Irssi_scripts|GitHub - Labka Repo : Secretary scripts]] -- [[https://​github.com/​Over23/​Linux_Configs/​blob/​master/​config|GitHub : Over's IRSSI config - comment-less]] | 
 +| **linkz:** | https://​github.com/​irssi/​irssi/​blob/​master/​docs/​special_vars.txt;​ https://​irssi.org/​documentation/​tips/;​ https://​quadpoint.org/​articles/​irssi/;​ http://​www.antonfagerberg.com/​blog/​my-perfect-irssi-setup/ ​|
 | **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci CC BY-SA]] ​ | | **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci CC BY-SA]] ​ |
  
- +===== Total basics of IRSSI and screen ​=====
-===== How does it work =====+
 {{ project:​irc:​secretary.jpg?​400}} {{ project:​irc:​secretary.jpg?​400}}
 +
 +* ssh yourself to Darkstar [exLabka Shell] : 193.84.207.21
 +
 +  ssh USERNAME@193.84.207.21 ​  
 +
 +  screen -U 
 +  irssi 
 +  /connect chat.freenode.net ​
 +  /nick your_nick
 +  /save
 +  /j #​labka ​
 +  [ /wc ] - closing chat window
 +  [j #​labka_secret] - connect to other chat room
 +  [/help any_command - will give you help for commands, it is accepting tab as Linux command line]
 +
 +  ctrl+p or n - switching between chat windows [rooms] - ala alt+tab
 +  ctrl + number [or qwerty when over 10] - switching to direct number of window [/window list will show you which window is which #]
 +
 +  screen -list - will give you list of all screens opened and running
 +  screen -rdU - will switch you to reattached screen window
 +
 +inside screen:
 +  screen is accepting ctrl + a [something]
 +  ctrl + a + d - detach screen [reattach by screen -rdU from command line]
 +  ctrl + a + c - create new screen window
 +  ctrl + a + a - rotate between screen windows [again like alt+tab]
 +
 +Nice howtos:
 +* http://​www.antonfagerberg.com/​blog/​my-perfect-irssi-setup/ ​
 +
 +* https://​quadpoint.org/​articles/​irssi/ ​
 +
 +* moar about screen: http://​aperiodic.net/​screen/​quick_reference ​
 +
 +* nice .screenrc
 +<​code>​
 +hardstatus alwayslastline
 +hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?​%-Lw%?​%{r}(%{W}%n*%f%t%?​(%u)%?​%{r})%{w}%?​%+Lw%?​%?​%= %{g}][%{B} %d/%m %{W}%c %{g}]'
 +vbell off
 +startup_message off
 +defscrollback 2048
 +</​code>​
 +
 +==== Use hilight to show regexp word [typical your nick] ====
 +insight irssi
 +<​code>​
 +/window new split
 +/window name hilight
 +/window size 6
 +/layout save
 +</​code>​
 +
 +==== AutoJoin channels ====
 +
 +* If you want to auto-join some channels, you can add them the same way as well:
 +<​code>​
 +/channel add -auto #irssi Freenode
 +/channel add -auto #xkcd Foonetic
 +</​code>​
 +
 +==== IDLE-RPG ====
 +
 +* https://​idlerpg.lolhosting.net/​index.php - game were you are supposed to do nothing, trust me and try it
 +<​code>​
 +/msg IdleBot REGISTER NAME PASSWORD PROFESSION
 +/msg IdleBot LOGIN NAME PASSWPRD
 +
 +/msg IdleBot LOGOUT
 +/msg IdleBot NEWPASS <new password>​
 +/channel help
 +/channel add -auto #idlerpg freenode
 +</​code>​
 +
 +
 +
 +
 +
 +===== IRC applications and tools =====
 +  * notify android cell phone : https://​irssinotifier.appspot.com/​
 +  * connect IRC to Slack: https://​sameroom.io/​blog/​connecting-a-channel-in-slack-to-a-channel-irc/​
 +===== SECRETARY BOT : How does it work =====
 +
   * you need running IRSSI instance and your bot is just one [[https://​irssi.org/​|IRSSI]] identity, best is to run single instance of [[https://​quadpoint.org/​articles/​irssi/​|IRSSI in screen somewhere]]   * you need running IRSSI instance and your bot is just one [[https://​irssi.org/​|IRSSI]] identity, best is to run single instance of [[https://​quadpoint.org/​articles/​irssi/​|IRSSI in screen somewhere]]
   * configuration of bot is done by IRSSI, so you want have it named, connect somewhere... [[https://​irssi.org/​|IRSSI]] is your friend   * configuration of bot is done by IRSSI, so you want have it named, connect somewhere... [[https://​irssi.org/​|IRSSI]] is your friend
Line 97: Line 179:
 01:03:22 -!- Irssi: End of List 01:03:22 -!- Irssi: End of List
 </​code>​ </​code>​
 +
 +
 +====== BOT megabro ======
 + * owned and managed by : Embargo
 +<​code>​
 +Adelajka>​ megabro: help
 +<​megabro>​ Adelajka: (help [<​plugin>​] [<​command>​]) -- This command gives a useful description of what <​command>​ does. <​plugin>​ is only necessary if the command is in more than one plugin. You may also want to use the '​list'​ command to list all available plugins and commands.
 +Adelajka>​ megabro: version
 +The current (running) version of this Limnoria is 2017.08.18, running on Python 3.6.3 (default, Oct  3 2017, 21:​45:​48) ​ [GCC 7.2.0]. ​ The newest versions available online are 2019.02.22 (in master), 2019.05.28 (in testing).
 +</​code>​
 +
 +====== BOT megabro : known functionality ======
 +<​code>​
 +@title [URL] - is returning HTML tag <​title>​
 +@Admin, ​
 +@AutoMode
 +@Channel
 +@ChannelLogger
 +@ChannelStats ​
 +@Config ​
 +@Games ​
 +@Google ​
 +@Misc 
 +@Network ​
 +@NickAuth ​
 +@Owner ​
 +@Topic ​
 +@User
 +@Utilities
 +@Web
 +</​code>​
 +
 +
   ​   ​
 ====== ToDo ====== ====== ToDo ======
Line 103: Line 218:
 ====== IRSII ====== ====== IRSII ======
   * https://​irssi.org/​documentation/​tips/​   * https://​irssi.org/​documentation/​tips/​
 +===== Ignore connect, join, part =====
 +
 +   /​ignore #openstack MODES JOINS PARTS QUITS
 +
 ====== Notes [to remove and so] ====== ====== Notes [to remove and so] ======
   * add complete dependences to git for easy deploy   * add complete dependences to git for easy deploy
Line 163: Line 282:
 ===== Usefull commands on freenode.net ===== ===== Usefull commands on freenode.net =====
 * http://​little418.com/​2012/​01/​adding-ops-to-your-new-freenode-channel.html * http://​little418.com/​2012/​01/​adding-ops-to-your-new-freenode-channel.html
 +   ## reguster your nick
 +   /msg NickServ REGISTER password youremail@example.com
    ## identify registered nick    ## identify registered nick
    /msg NickServ identify PWD    /msg NickServ identify PWD
Line 169: Line 290:
        
 * http://​little418.com/​2012/​01/​adding-ops-to-your-new-freenode-channel.html * http://​little418.com/​2012/​01/​adding-ops-to-your-new-freenode-channel.html
-   ## give nic op and auto-op+   ## give nick op and auto-op
    /msg chanserv flags #CHANnEL NICK +Oo     /msg chanserv flags #CHANnEL NICK +Oo 
    ## list flags of channel    ## list flags of channel
Line 189: Line 310:
 ===== channel modes ======= ===== channel modes =======
   /msg ChanServ set #​CHANNELNAME mlock -nc   /msg ChanServ set #​CHANNELNAME mlock -nc
 +  ​
 +===== ToDo : ToTest : PushSafer konekce na irssi =======
 +  ​
 +https://​www.pushsafer.com/​en/​irssi
 +
 +
  
  • project/irc/secretary.txt
  • Last modified: 2019/07/18 04:36
  • by over23