The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
biblebot-diatheke-books.tcl
Go to the documentation of this file.
1 # Diatheke/Tcl 5.0 by Chris Little <chrislit@crosswire.org>
2 
3 # Copyright 1999-2009 CrossWire Bible Society (http://www.crosswire.org)
4 # CrossWire Bible Society
5 # P. O. Box 2528
6 # Tempe, AZ 85280-2528
7 #
8 # This program is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by the
10 # Free Software Foundation version 2.
11 #
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 
17 bind pub - !KJV setver_KJV
18 
19 proc setver_KJV {nick uhost hand channel arg} {
20  global botnick chan bibver
21  set bibver KJV
22  pub_lookup $nick $uhost $hand $channel $arg
23 }
24 
25 bind pub - !sKJV setver_sKJV
26 
27 proc setver_sKJV {nick uhost hand channel arg} {
28  global botnick chan bibver
29  set bibver KJV
30  pub_lookups $nick $uhost $hand $channel $arg
31 }
32 
33 proc printBibles {nick} {
34  putserv "NOTICE $nick :Bibles (1):"
35  putserv "NOTICE $nick :King James Version (1769) with Strongs Numbers and Morphology (!KJV)"
36 }
37 
38 proc printComms {nick} {
39 }
40 
41 proc printDicts {nick} {
42 }