sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
[SM-Discuss] Trivia bot on #smgl-newbies for SMGL related questions
- From: Terry Ross <terry AT timestorm.ross.com>
- To: "sm-discuss" <sm-discuss AT lists.ibiblio.org>
- Subject: [SM-Discuss] Trivia bot on #smgl-newbies for SMGL related questions
- Date: Sat, 22 Nov 2003 14:53:45 -0800
I have a trivia bot running on #smgl-newbies until one of the big shots tells
me to take it off. The bot is meant to be used as a form of SMGL flash
cards. You start the bot with !ask -- it will stop by itself if there is no
channel activity.
I will be putting a form up eventually where you can add Source Mage flash
cards online. If you would like to add questions to the bot, there are two
different ways of adding questions:
Just let me know if you wanted to be added as a bot master to control the
quizzes/bot
=====================
Online:
Add the question with /msg tb !userquest question::answer
a. The bot does not need to be running a game for this question to be
registered. Note that using this format you will not get points
for answering your own questions.
b. Use the command !qhelp userquestions for full details
======================
Offline
If you want to do up a whole slew of questions, use this format, and mail the
file to me:
Notes: file extension should be .sm -- i.e., questions.qnr1.sm
- Turn off wrapping in your editor. The whole question has to be on
one line - and the whole answer must be on one line
- Question: & Answer: are the only fields absolutely required
Example file:
#
# $Id: questions.set1.sm,v 1.0 2003/11/17 13:00:07 nedit Exp $
#
#
------------------------------------------------------------------------------
#
# Author: Terry Ross
# Editor: Nedit
# Last edited: 2003-11-22
#
#
# ----------------------------------------------------------------------
## Demo-Entry:
# ----------
# Category: History
# Question: Chinese philosopher (um 500 v. Chr.) ?
# Answer: Konfuzius
# Regexp: [ck]onfu(ts|z)ius
# Author: anonymous
# Level: hard
# Comment: demo-entry, ÄÖÜäöüß ^° !"§$%&/()=? `´
# Score: 5
# Tip: Kon......
# Tip: ...fuz...
# Tip: ......ius
## valid keys:
# ----------
# Category? (should always be on top!)
# Question (should always stand after \
Category)
# Answer (will be matched if no regexp #
is provided)
# Regexp? (use UNIX-style expressions)
# Author? (the brain behind this \
question)
# Level? [baby|easy|normal|hard|extreme] (difficulty)
# Comment? (comment line)
# Score? [#] (credits for answering this \
question)
# Tip* (provide one or more hints)
# TipCycle? [#] (Specify number of generated\
tips)
# \ indicates line is continued
Category: General
Question: How many Sorcery Branches are there?
Answer: two
Regexp: (two|2)
Category: General
Question: Source Mage GNU/Linux has some online documentation. If you \
wanted to visit it in your web browser, where would you go?
Answer: http://#wiki.sourcemage.org# - Note that this is correct as of \ Nov
2003 - but subject to change
Terry Ross
--
Terry Ross | qnr | <terry AT aliboom.com> | http://linux.aliboom.com
GnuPG Key fingerprint = AC11 C1C3 0371 D4E6 50CD 1285 D041 AD9F 68C4 06C2
Attachment:
pgpDmc0BSRiOy.pgp
Description: PGP signature
- [SM-Discuss] Trivia bot on #smgl-newbies for SMGL related questions, Terry Ross, 11/22/2003
Archive powered by MHonArc 2.6.24.