| 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 | |
|---|
| 29 | if {![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 | |
|---|
| 41 | if {![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 | |
|---|
| 57 | if {![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 |
|---|
| 74 | set botnicks "" |
|---|
| 75 | |
|---|
| 76 | set arrcachearr "" |
|---|
| 77 | set arrcachenick "" |
|---|
| 78 | set colenMings [expr srand([clock clicks])] |
|---|
| 79 | |
|---|
| 80 | set bMotionAdminFlag "n" |
|---|
| 81 | |
|---|
| 82 | #typing queue |
|---|
| 83 | set bMotionQueue [list] |
|---|
| 84 | set bMotionQueueTimer 0 |
|---|
| 85 | |
|---|
| 86 | |
|---|