procgen  Check-in [77c9e366f8]

Overview
Comment:add ransul
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 77c9e366f80a48279bab2458f21ec85220b482840fed012231919e14baa18c67
User & Date: lexi on 2018-11-11 10:26:00
Other Links: manifest | tags
Context
2018-11-11
10:28
add readme check-in: 039a9ac75a user: lexi tags: trunk
10:26
add ransul check-in: 77c9e366f8 user: lexi tags: trunk
10:19
add ransul check-in: 9a711d8a06 user: lexi tags: trunk
Changes

Modified procbot.rb from [d6b2e06ea9] to [60898c7346].

     1      1   #!/usr/bin/ruby
     2      2   # encoding: UTF-8
     3      3   require "cinch"
     4         -Bots = ["cclg", "sext", "sect", "order", "monster", "pharma", "argue","crime","drug","badbio","bottist","egret_txt", "babdio", "botsoc","dx"]
            4  +Bots = ["cclg", "sext", "sect", "order", "monster", "pharma", "argue","crime","drug","badbio","bottist","egret_txt", "babdio", "botsoc","dx","ransul"]
     5      5   ShoutingMatch = /\b(MS\.|MS\s|SERGEANT\s|SGT\s|SGT\.)?\s*(SAMANTHA TAGGART|SAMANTHA TAGUE|SAMANTHA|SAM TAGUE|SAM TAGGART|SAMTAGUE|SAMMY|SAM|TAGUE|TAGGART)\b/
     6      6   SmallMatch = /\b(ms\.|ms\s|sergeant\s|sgt\s|sgt\.)?\s*(samantha taggart|samantha tague|samantha|sam tague|sam taggart|samtague|sam|sammy|tague|taggart|(ね|)サム|(ね|)サムさん|(ね|)サムちゃん|سام|يا سام)\b/i
     7      7   FormalQs = [
     8      8   	"How may I be of assistance",
     9      9   	"Yes",
    10     10   	"You rang",
    11     11   	"What can I do for you today",
................................................................................
   185    185   			elsif scancmd(x,["again", "make another", "do another", "tell another", "make us another", "encore", "more", "do that again", "once more" "one more time", "do it again", "play it again"])
   186    186   				if $lastcmd != "" then
   187    187   					return perform($lastcmd,user)
   188    188   				else
   189    189   					return nil
   190    190   				end
   191    191   			elsif bot=scancmd(x,
   192         -				(mult((mult ["give","tell","make","invent","find","i want","we want","i'd like","we'd like","can i have","can we have","can i get","can we get","create","let's get","let's have","let's hear","lemme have","let me have"], [""," me", " us"]) +
          192  +				(mult((mult ["give","tell","make","invent","find","i want","we want","i'd like","we'd like","can i have","can we have","can i get","can we get","create","let's get","let's have","let's hear","lemme have","let me have", "ianim", "ianaste", "ianafte", "ianash"], [""," me", " us", "ani dasit", "anari dasit"]) +
   193    193   					["make up", "come up with","do","how about","maybe"], [""," a", " an", " a new", " another", " more", " some", " some more"])+
   194    194   					["more","another","a","a new","an","some"]).reverse)
   195    195   					# this is the worst thing i have ever done
   196    196   					# i am so sorry
   197    197   				case bot
   198    198   					when "crime", "crimes", "felony", "felonies"
   199    199   						return perform("crime",user)
   200    200   					when "word", "term", "weird word", "long word", "jargon", "obscure word",
   201    201   						"words", "terms", "weird words", "long words", "obscure words"
   202    202   						return perform("cclg",user)
          203  +					when "rantash", "name", "ranuir name", "sul", "sula", "sul rani", "sula rani", "sul surini", "sula surini", "sul rantashi", "sula rantashi", "citizen", "comrade"
          204  +						return perform("ransul",user)
   203    205   					when "monster", "beast", "monsters", "beasts"
   204    206   						return perform("monster",user)
   205    207   					when "drug", "drugs","street drug","street drugs"
   206    208   						return perform("drug",user)
   207    209   					when "pill", "pills", "pharmaceutical", "pharmaceuticals", "legal drug", "legal drugs"
   208    210   						return perform("pharma",user)
   209    211   					when "bad bio", "bad bios", "bad twitter bio", "bad twitter bios"