From a5f8cf98eac3db4417ed9c7bfec016f304de1db1 Mon Sep 17 00:00:00 2001 From: bonkmaykr Date: Sun, 28 Jan 2024 22:35:51 -0600 Subject: [PATCH] new conf examples --- conf.examples/bot.conf | 33 +++++++++------ conf.examples/lut.conf | 4 ++ conf.examples/marks.json | 50 +++++++++++++++++++++++ conf.examples/messages.list | 79 ++++++++++++++++++++++++++++-------- conf.examples/replies.conf | 9 ++-- conf.examples/worldlist.conf | 1 + 6 files changed, 140 insertions(+), 36 deletions(-) create mode 100644 conf.examples/lut.conf create mode 100644 conf.examples/marks.json diff --git a/conf.examples/bot.conf b/conf.examples/bot.conf index e6dbe6d..2cb44f4 100644 --- a/conf.examples/bot.conf +++ b/conf.examples/bot.conf @@ -4,42 +4,51 @@ messages=conf/messages.list # Handles single messages to single phrases. replyfile=conf/replies.conf -# Handles worlds and their names. -worldfile=conf/worldlist.conf +# Handles worlds and their names. (deprecated) +#worldfile=conf/worldlist.conf +# Look-Up Table which maps aliases to the JSON worlds list +lutfile=conf/lut.conf # The username you log in as. Account must be registered on worlds servers. -username=Clem +username=JohnDoe # The password to the username above. -password=hackme +password=123456 # The username who owns the bot. This is for administrative actions. -owner=Thom +owner=SirGrandpa # The URL to whisper users when asking for bot help. help_url= # Bot avatar. Must be VIP for articulated to show up. -avatar=http://files.worlio.com/users/wirlaburla/avatars/pengobot.mov +avatar=http://files.worlio.com/users/bonkmaykr/avatarsforme/gabu1s*4h*4v*.mov # Room to appear in. room=GroundZero#Reception -# The position in the world that the bot will sit. -xpos=0 -ypos=0 +# Default world file to "load into" +# As Tourbot is a headless client we aren't actually loading anything, +# this is solely used to allow users to teleport to the bot. +world=http://jett.dacii.net/jett/Recreated%20Worlds/SummersGZ/groundzero%20summers.world + +# The position in the world that the bot will sit when idle. +# This should be placed in an easy to reach and clearly visible location. +# Locations will be handled on a per-world basis when teleporting to bookmarks. +xpos=1293 +ypos=1710 zpos=0 -direction=0 +direction=336 # Every 'keep alive', will turn x degrees. -spin=0 +spin=10 # Keep alive interval. Setting this too long will make worlds disconnect you. katime=5 # The time between random messages. The wait period is between minRandomMsgTime and maxRandomMsgTime. Setting these to 0 will disable. minRandomMsgTime=300 -maxRandomMsgTime=900 +maxRandomMsgTime=600 # Here are all single-definition messages. For anything that isn't picked in a list, it's here. help_msg=You can find more information here: %s diff --git a/conf.examples/lut.conf b/conf.examples/lut.conf new file mode 100644 index 0000000..cfe8ff7 --- /dev/null +++ b/conf.examples/lut.conf @@ -0,0 +1,4 @@ +beachgz=beach +beach gz=beach +partycave=waterworld +party cave=waterworld diff --git a/conf.examples/marks.json b/conf.examples/marks.json new file mode 100644 index 0000000..d7b13d2 --- /dev/null +++ b/conf.examples/marks.json @@ -0,0 +1,50 @@ +{ + "atlantis": { + "name": "Atlantis", + "url": "http://files.worlio.com/users/aujourd/atlantis/atlantis.world", + "room": "atlantis#beach", + "position": [ + "11544", + "7828", + "220", + "203" + ], + "blacklist": false + }, + "beach": { + "name": "Jimbly's Beach", + "url": "http://ittraining.net/jimbly/groundzero.world", + "room": "Groundzero#Reception", + "position": [ + "500", + "500", + "150", + "0" + ], + "blacklist": true + }, + "mugshots": { + "name": "Jimbly's Mugshot Hallway", + "url": "http://ittraining.net/jimbly/mugshots.world", + "room": "Mugshots#Room0", + "position": [ + "106", + "1804", + "150", + "140" + ], + "blacklist": true + }, + "waterworld": { + "name": "Waterworld, aka Party Cave", + "url": "http://www.ittraining.net/waterworld/waterworld.world", + "room": "Water World#Pool", + "position": [ + "672", + "3916", + "150", + "139" + ], + "blacklist": false + } +} diff --git a/conf.examples/messages.list b/conf.examples/messages.list index fb980e3..cca39eb 100644 --- a/conf.examples/messages.list +++ b/conf.examples/messages.list @@ -1,14 +1,48 @@ [startup] -Hi, I'm P3NG0, your friendly Worlds bot. -My initialization is complete. +*yawn* [attention] -hey pengo -hey p3ng0 -p3ng0 -yo pengo -yo p3ng0 -hello p3ng0 -aloha p3ng0 +hey tourbot +hey tourbot +tourbot +yo tourbot +yo tourbot +hello tourbot +aloha tourbot +[requestverb] +give me a +give me +give me the +[requestnoun] +take me to +take me to a +take me to the +show me +show me a +show me the +[markreminder] +If you like this world, remember to save a Worldsmark! +[tourtutorial] +Make sure you have "Tourbot" added to your friends list, then click my name and select "Go There" to follow me. +[goto] +I'm teleporting to %s, follow me! +[tour1] +Okay, first stop, we are going to %s! Teleport now +Get ready! We're on our way to %s! Teleport now +[leavingin3] +3 minutes left! Make sure to Worldsmark your favorite ones! +We'll be going to the next world, %s, in 3 minutes! +[leavingin1] +1 minute remaining! Get ready to teleport soon! +1 minute left! If you aren't done exploring, you should save a Worldsmark now. +[leavingsoon] +30 seconds, pack your bags! +30 seconds left. +[tour2] +Next stop, we'll be visiting %s! Teleport now +Get ready to go to our next stop, %s! Teleport now +[tour3] +Final stop, we're travelling to %s! Teleport now +And finally, we'll be arriving at %s! Teleport now [greets] Hi. Hi %s. @@ -17,23 +51,32 @@ Nice to meet you %s. Hope all is well! Howdy! Salutations %s. -Acknowledged. -Added '%s' to database. [goodbye] -Goodbye! +Later! +*fart reverb* [unknown] Sorry, I don't know what you're asking. I am unsure of your request. -ERROR: DIVISION BY ZERO -Need something? +Please rephrase. [random] -Beep boop! +*yawn* +[null] +Bored? Looking for a new place to go? Artsy? Spooky? Cozy? Say "tourbot, give me a tour" [jokes] -Why did the chicken cross the road? To escape my deadly lasers, of course! +The other day, my wife asked me to pass her lipstick, but I accidentally passed her a glue stick. She still isn’t talking to me. +The most corrupt CEOs are those of the pretzel companies. They’re always so twisted. +As I get older, I remember all the people I lost along the way. Maybe a career as a tour guide was not the right choice. +My doctor said I only have 3 weeks to live, so I murdered him and the judge gave me 30 years. Problem solved! +I have many jokes about unemployed people — sadly none of them work. +You’re not completely useless. You can always serve as a bad example. +My boss told me to have a good day. So I went home. +I bought a pair of shoes from a drug dealer. I don't know what he laced them with, but I've been tripping all day. +Teamwork is important; it helps to put the blame on someone else. +The worst part about breaking up with a Japanese woman, is that you have to drop the bomb twice before she understands. [world] It's right here: %s %s Here is your mark: %s [whoami] -Hi, I'm P3NG0. I'm a friendly bot. -I am here to annihilate the human race. \ No newline at end of file +I am a BOT designed to help you explore! My source code is based off of P3NG0 by Wirlaburla, we share many of the same functionalities. +I am designed to take you places! Please see https://kangworlds.net/tourbot/ for more information! diff --git a/conf.examples/replies.conf b/conf.examples/replies.conf index b4a5ee8..e36459d 100644 --- a/conf.examples/replies.conf +++ b/conf.examples/replies.conf @@ -1,11 +1,8 @@ hi=Hello. -any tip=No, no tip. -tour=No deal. +any tip=No thanks. +tour=Where would you like to go? bye=Goodbye! cult=There is no cult on Worlds.com. -lover=You wouldn't make it past my saw blades, much less the lasers. -love=I have no concept of love. -hate=I have no concept of love. table flip=(╯°□°)╯︵ ┻━┻ flip a table=(╯°□°)╯︵ ┻━┻ -(╯°□°)╯︵ ┻━┻=┬─┬ノ( º _ ºノ) \ No newline at end of file +(╯°□°)╯︵ ┻━┻=┬─┬ノ( º _ ºノ) diff --git a/conf.examples/worldlist.conf b/conf.examples/worldlist.conf index 002fa8d..eec0de4 100644 --- a/conf.examples/worldlist.conf +++ b/conf.examples/worldlist.conf @@ -1,3 +1,4 @@ +# Deprecated beach=http://ittraining.net/jimbly/groundzero.world mugshots=http://ittraining.net/jimbly/mugshots.world tyler=http://worlio.com/users/dsparil/Tyler%20World/tyler.world