From acf3280d4a0c9cffa52867b476bedf55b0886d81 Mon Sep 17 00:00:00 2001 From: pdq Date: Mon, 7 Dec 2015 08:12:38 -0600 Subject: [PATCH 1/2] Update megahal.tcl --- copy_to_eggdrop_wd/scripts/megahal.tcl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/copy_to_eggdrop_wd/scripts/megahal.tcl b/copy_to_eggdrop_wd/scripts/megahal.tcl index ff60fe6..c12a2d4 100644 --- a/copy_to_eggdrop_wd/scripts/megahal.tcl +++ b/copy_to_eggdrop_wd/scripts/megahal.tcl @@ -41,7 +41,7 @@ set learnfreq 2 # Valid values are 1-5 # 2 is highly recommended, 3 is much more boring but it will also produce much more coherent sentences # 1 will make it babble incoherently a lot of the time and 4-5 will turn it into a parrot instead of a fun AI -setmaxcontext 2 +set maxcontext 2 # Surprise mode on or off (0/1) # This changes the way it constructs sentences. @@ -62,11 +62,11 @@ set maxreplywords 30 learningmode $learnmode # bind the botnick -catch "unbind pub - hal: *pub:hal:" -bind pub - ${nick}: *pub:hal: -catch "unbind dcc - hal *dcc:hal" -bind dcc - $nick *dcc:hal -setmegabotnick $nick +catch "unbind pub - Kuro-sama: *pub:Kuro-sama:" +bind pubm - "*${nick}*" *pub:Kuro-sama: +catch "unbind dcc - Kuro-sama *dcc:Kuro-sama" +bind dcc - $nick *dcc:Kuro-sama +set megabotnick $nick # Save and trim the brain once every hour bind time - "35 * * * *" auto_brainsave From 31cbe66248021acb9c93d4573b43e9dbe0cd303d Mon Sep 17 00:00:00 2001 From: pdq Date: Mon, 7 Dec 2015 08:37:52 -0600 Subject: [PATCH 2/2] Update megahal.tcl --- copy_to_eggdrop_wd/scripts/megahal.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copy_to_eggdrop_wd/scripts/megahal.tcl b/copy_to_eggdrop_wd/scripts/megahal.tcl index c12a2d4..0536494 100644 --- a/copy_to_eggdrop_wd/scripts/megahal.tcl +++ b/copy_to_eggdrop_wd/scripts/megahal.tcl @@ -41,7 +41,7 @@ set learnfreq 2 # Valid values are 1-5 # 2 is highly recommended, 3 is much more boring but it will also produce much more coherent sentences # 1 will make it babble incoherently a lot of the time and 4-5 will turn it into a parrot instead of a fun AI -set maxcontext 2 +setmaxcontext 2 # Surprise mode on or off (0/1) # This changes the way it constructs sentences. @@ -66,7 +66,7 @@ catch "unbind pub - Kuro-sama: *pub:Kuro-sama:" bind pubm - "*${nick}*" *pub:Kuro-sama: catch "unbind dcc - Kuro-sama *dcc:Kuro-sama" bind dcc - $nick *dcc:Kuro-sama -set megabotnick $nick +setmegabotnick $nick # Save and trim the brain once every hour bind time - "35 * * * *" auto_brainsave