EindBot: verschil tussen versies

Uit Hackalot - Hackerspace Eindhoven
Naar navigatie springen Naar zoeken springen
Regel 18: Regel 18:
  
 
1) See what permission you have
 
1) See what permission you have
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)~
 
 
::
 
::
  
Regel 26: Regel 25:
  
 
2) See what plugins are available
 
2) See what plugins are available
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]])
 
 
::
 
::
  
Regel 51: Regel 49:
  
 
3) See what commands a plugin provides
 
3) See what commands a plugin provides
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]])
 
  
 
An alias if it exists for a command is show in ()
 
An alias if it exists for a command is show in ()
Regel 64: Regel 61:
  
 
4) Get help on a plugin
 
4) Get help on a plugin
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]])
 
  
 
The help command only shows the commands you can do in a plugin.
 
The help command only shows the commands you can do in a plugin.
Regel 75: Regel 71:
  
 
5) Get help on a command
 
5) Get help on a command
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]]) 12 sep 2017 06:52 (UTC)
 
 
::
 
::
  
Regel 84: Regel 79:
  
 
6) Use apro to find commands
 
6) Use apro to find commands
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]])
 
 
::
 
::
  
Regel 92: Regel 86:
  
 
7) Use pipelines
 
7) Use pipelines
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)~
 
  
 
::
 
::
Regel 100: Regel 93:
  
 
8) Use options
 
8) Use options
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]]) 12 sep 2017 06:52 (UTC)
 
  
 
commands can have options, see the options <command> to see which are
 
commands can have options, see the options <command> to see which are

Versie van 12 sep 2017 07:56

NoPicture.png
Project EindBot
Name EindBot
Start 2017/08/03
Contact [[Project contact::Gebruiker:User:]V[|User:]V[]]
Website
Information De IRCbot in het #lspace kanaal op freenode
Status Alpha


Intro

Wat is een hackerspace zonder IRC-bot? (geef daar maar geen andwoord op :P)

EindBot is een op gozerbot gebaseerde IRCbot. Hij komt van [1]. De commando's zijn aan wijzigingen onderhevig, dus probeer het uit in een query met het commando:

!help

Basic

Basic know your way around.

1) See what permission you have

 < dunk> !perms
 < gozerbot> USER .. ADMIN .. MAIL .. RSS .. EVAL .. VOTE .. FORGET .. ALIAS
           .. OPER .. QUOTE .. SENDRAW .. SAY

2) See what plugins are available

 < dunk> !list
 < gozerbot> loaded plugins: alarm alias all at autoreply autovoice away 
             backup birthday botsnack chanperm choice code collective 
             convert core count country debug dig dns event fleet gcollect 
             googletalk grab greeting grep hello hg idle ignore infoitem 
             install irc jabber job karma lag links lists log mail 
             mailexceptions markov misc nickcapture nickserv not ops pgp 
             popcon probe quote relay (+1)

if the response is longer than 375 characters the bot will cache the output and only show the first 2 lines of 375 chars. use !more to see the following lines.

 < dunk> !more
 < gozerbot> reload remind rest reverse rss search seen shop simplelog 
             size snarf tail tcp tell timer to todo topic udp umode 
             underauth update upgrade url user userstate webserver 
             wikipedia

3) See what commands a plugin provides

An alias if it exists for a command is show in ()

 <@dunk> !commands todo
 < gozerbot> todo has the following commands: todo .. todo-chan (chantodo) 
             .. todo-chandone (chandone) .. todo-done (done) .. todo-get 
             .. todo-getprio (prio) .. todo-set .. todo-setprio (setprio) 
             .. todo-settime .. todo-time (tt) .. todo-today (today) .. 
             todo-tomorrow (tomorrow) .. todo-week

4) Get help on a plugin

The help command only shows the commands you can do in a plugin.

 < dunk> !help collective
 < gozerbot> plugin description: manage links to other bots .. to be
             accessible a bot needs to run the webserver
 < gozerbot> commands: coll .. coll-exec

5) Get help on a command

 < dunk> !help meet
 < gozerbot> meet is an alias for user-meet
 < gozerbot> user-meet <nick> .. introduce <nick> to the bot .. alias: 
             meet .. examples: user-meet dunker

6) Use apro to find commands

  < bart> !apro plug
  < gozerbot> commands matching plug: 1) plug-disable 2) plug-enable 3) 
              plug-upgrade 4) plugins

7) Use pipelines

 <@dunk> !list | count
 < gozerbot> 35

8) Use options

commands can have options, see the options <command> to see which are available

 < bart> !options weather
 < gozerbot> the following options are available for command weather:

--u --speed --filter --how --chan