source: tags/start/modules/variables.tcl @ 1143

Revision 2, 2.4 KB checked in by jamesoff, 9 years ago (diff)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1# bMotion - Global variable init
2#
3# $Id$
4#
5
6###############################################################################
7# bMotion - an 'AI' TCL script for eggdrops
8# Copyright (C) James Michael Seward 2000-2002
9#
10# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 2 of the License, or
13# (at your option) any later version.
14#
15# This program is distributed in the hope that it will be useful, but
16# WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18# General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23###############################################################################
24
25# Defaults
26
27# Mood stuff is in mood.tcl
28
29if {![info exists got]} {
30  set got(tissues,nick) ""
31  set got(tissues,channel) ""
32  set got(coffee,nick) ""
33  set got(coffee,channel) ""
34  set got(bodyPaint,nick) ""
35  set got(bodyPaint,channel) ""
36  set got(dildo,nick) ""
37  set got(dildo,count) 0
38  set got(dildo,style) ""
39}
40
41if {![info exists bMotionInfo]} {
42  set bMotionInfo(pokemon) "pikachu"
43  set bMotionInfo(lowerWatershed) 8
44  set bMotionInfo(upperWatershed) 21
45  set bMotionInfo(cloaked) 0
46  set bMotionInfo(warp) 0
47  set bMotionInfo(impulse) 0
48  set bMotionInfo(brig) ""
49  set bMotionInfo(leet) 0
50  set bMotionInfo(dutch) 0
51  set bMotionInfo(leetChance) 3
52  set bMotionInfo(silence) 0
53  set bMotionInfo(away) 0
54  set bMotionInfo(clothing) 5 
55}
56
57if {![info exists bMotionCache]} {
58  set bMotionCache(away) ""
59  set bMotionCache(lastGreeted) ""
60  set bMotionCache(lastHows) ""
61  set bMotionCache(lastDoneFor) ""
62  set bMotionCache(lastEvil) ""
63  set bMotionCache(teamRocket) ""
64  set bMotionCache(LOLcount) 0
65  set bMotionCache(lastLeft) ""
66  set bMotionCache(opme) ""
67  set bMotionCache(typos) 0
68  set bMotionCache(typoFix) ""
69  set bMotionCache(remoteBot) ""
70  set bMotionCache(randomUser) ""
71}
72
73#this is set later
74set botnicks ""
75
76set arrcachearr ""
77set arrcachenick ""
78set colenMings [expr srand([clock clicks])]
79
80set bMotionAdminFlag "n"
81
82#typing queue
83set bMotionQueue [list]
84set bMotionQueueTimer 0
85
86
Note: See TracBrowser for help on using the repository browser.