File: bot.help.tcl

package info (click to toggle)
din 5.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,200 kB
  • sloc: cpp: 9,369; sh: 6,563; ansic: 2,977; tcl: 1,770; makefile: 283
file content (32 lines) | stat: -rw-r--r-- 923 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set bot(name) bot
set bot(short) :
set bot(purpose) {
  Connect to an IRC channel and accept & execute commands
  Available on GNU/Linux only!
}
set bot(invoke) {
  bot connect OR c <server> <name> <channel> <key>
  bot disconnect OR d <message>
  bot prefix OR p <prefix>}
set bot(help) {
  server is the irc server

  name is the bot name

  channel is the channel to join
    note: dont include # in channel name

  key is the password for the channel

  bot allows access to your whole file system so will connect
  to password protected channels only. only use it among friends.
}
set bot(examples) {
  ;# connects to irc.dinisnoise.org as bot and joins #din with password letmein
  bot connect irc.dinisnoise.org bot din letmein

  bot d {i'm finished} ;# disconnect with a leaving message

  bot prefix alice ;# prefixes each message with alice:

  : happy deepavali folks ;# sends happy deepavali folks to channel}