File: scripts

package info (click to toggle)
tkirc 1.202-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 500 kB
  • ctags: 40
  • sloc: tcl: 9,813; makefile: 64; sh: 3
file content (30 lines) | stat: -rw-r--r-- 1,180 bytes parent folder | download | duplicates (4)
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
  Do you want to write your own IRC-commands and to use them within
  tkirc? That's no problem. =:^)
 
  Each entry of 'private_commands' has two elements:
    1. command name, if you want to use it via command line
    2. name of the procedure that should be called by typing "/<command>"
 
  Your procedures must support the two parameters 'winnum' and
  'arguments'.
 

  The commands you find in this directory can be used in the commandline
  through "/<command> <parameters>".   All you have to do is

  . add the procedure to your ".tkircrc"
  . insert a new entry to variable "private_commands" (in your ".tkircrc" too)
  . reload your ".tkircrc" or restart tkirc


  Short descriptions of example scripts:

  . /hilo changes upper chars to lower chars and vice versa
  . /crazy1 makes your text 'cRaZy'
  . /crazy2 makes your text 'cRazY' (with reverse characters too)
  . baninfos-support Baninfos of certain channels will be loaded and saved
    on join- leave- and signoff-messages
  . ctcp-support Do you want to support some CTCP-commands like LEAVE, OP,
    BANS, etc.?
  . chops Procedures and commands to manage lists of channel operators of
    certain channels