The parse_line() function

Type-string reference table


Below is a table containing all the different 'Type' strings that the parse_line() function can return along with an example or two of a line that will parse to this Type and the keys in the resulting hash other than the 'Type' and 'Raw' keys, which are common to all returned hashes. Keys with (F) after them are flags, which hold either the value 1 (true) or 0 (false).

Type Example(s) Keys
WHO_HEADER
  User        On     Idle   This is a poll.
Poll
LIST_END
End of List.
WHO_FOOTER
Uptime: 03d21; pollster: Iain; Users: 1; Online: 29
Uptime: 03d22; pollster: Iain; Users online: 30
      
Uptime, Pollster, Users, Online
WHO_BODY_ONLINE
 Gunther     03h10  00m44  Amun Ra
User, On, Idle, Doing, Zoned(F)
WHO_BODY_OFFLINE
 Kiz         [Not logged in; last login: 01-Sep-01 14:03:42]
User, Day, Month, Year, Time
DATE_TIME
Current time: Saturday, 1 Sep 2001, 17:08:07
Date, Day, Month, Year, Time
CHANNEL_STATISTICS_HEADER
+web/corknut.org: So everyone doesn't have to listen to Ryan babble on
Member(F), Pope(F), Category, Channel, Topic
CHANNEL_STATISTICS_DATE_TIME
Created: 20-Sep-00 22:53:52	Last message: 05-Jul-01 10:42:46
CreatedDate, CreatedMonth, CreatedYear, CreatedTime, MessageDate, MessageMonth, MessageYear, MessageTime
CHANNEL_STATISTICS_USERS
Users: BoingBall boucher HairBrain Hloif jwalrus +Ryan
Users
CHANNEL_STATISTICS_USERS_OFFLINE
Also: (andyf) (DGlasser) (josh_g) (Lennier) (Skip) (thumper) (trikiw)
Users
CHANNEL_BB_MESSAGES
There are no new messages on #web/corknut.org.
There is one new message on #food/food.
There are 6 new messages on #web/urls.
      
Number, Category, Channel
NO_SUCH_HELP
Sorry, there is no such help topic as 'monkey'. Try just typing help.
Topic
CHANNEL_LISTING_CATEGORY_HEADER
Categories:
CHANNEL_LISTING_CATEGORY
media/music
Category, Subcategory
CHANNEL_LISTING_CHANNEL_HEADER
Channels:
CHANNEL_LISTING_CHANNEL
#media/music/music        : What are you listening to today?
+alt/random/apropos-of-not: Non-sequiturs fish-hat!
 alt/random/markov-chains : It is possible for any American citizen to give ma
      
Member(F), Pope(F), Category, Channel, Topic
CHANNEL_LISTING_FOOTER
(10 channels)
Number
FAKE_DISCONNECT
* * You trick maybe one person into thinking you've disconnected * *
WELCOME_BANNER_MIDDLE
**                                                                    **
WELCOME_BANNER_MESSAGE
**                          Welcome to ifMUD!                         **
WELCOME_BANNER_EDGE
************************************************************************
WELCOME_FAQ
    FAQ:        http://www.ministryofpeace.com/text/ifMUD/faq.html
URL
WELCOME_BACKUP
    BACKUP:     zork.plover.net 4096
Backup
WELCOME_PHOTOS
    PHOTOS:     http://www.davidglasser.net/ifhos/
URL
WELCOME_IP
    IP:		63.77.145.125
IP
WELCOME_MONKEY
    MONKEY:     Ook.
Monkey
WELCOME_HAVE_ACCOUNT
    HAVE AN ACCOUNT?  Type "connect name password" to log in.
WELCOME_NEED_ACCOUNT
    NEED AN ACCOUNT?  Go to http://ifmud.port4000.com:4001/ and apply.
WELCOME_JUST_VISITING
    JUST VISITING?    Type "connect guest guest" to login as a Guest.
WELCOME_WHO
    WHO'S HERE NOW?   Type "who" for a list of players online.
WELCOME_PROBLEMS
    ANY PROBLEMS?     Email to Mark Musante (markm@multiuser.net)
LOGIN_PROMPT
TYPE connect, who, or quit:
LOGIN_ERROR
TRY: connect name password (or quit)
LOGIN_SUCCEEDED
Login Succeeded
MOTD_NAME
ifMUD
MOTD_RELEASE_INFO
Release 4 / Serial number 990908 / perlMUD v2.1z
Release, Serial, PerlMUD
NEWS_ANNOUNCEMENT NewsBoy hollers, "Extra! Extra! Gunther has posted message 417, about 'Very Neat Toys', to the bulletin board! Imminent death of retina predicted! What, this is news?" User, Number, Subject, Message
POLL_CHANGE PollBoy hollers, "Iain has changed the poll! To which the Vicar replies... oh, wait. Wrong joke." User, Message
HOLLER_SAY
Ryan hollers, "Monkey!"
Sender, Body, Recipient
DIRECTED_HOLLER_SAY
Jota hollers (to Ryan), "Ook!"
Sender, Body, Recipient
HOLLER_EMOTE
In front of the entire MUD: Ryan eats a banana.
Sender, Recipient, Body
DIRECTED_HOLLER_EMOTE
In front of the entire MUD, Jota (to Ryan) gives you another banana.
Sender, Recipient, Body
OBJECT_CREATED
turtle has been created as #10992
Name, DBRef
OBJECT_RECYCLED turtle (#10922) has been scheduled to be destroyed at the next database cycle. To save it from destruction, type "@unrecycle #10922". To force it to be destroyed immediately, type "@recycle #10922". Name, DBRef
OBJECT_DESTROYED
turtle recycled.
Name
STATISTICS_OVERALL
Overall Statistics
STATISTICS_BODY_CHANNELS
Total public channels:   1105 (493 active)
Channels, Active
STATISTICS_BODY
Total unused objects:    1
Total dark objects:      1239
Total male objects:      684
      
Item, Number
FIELD_SET
Field set.
Field
FIELD_CLEARED
Field cleared.
Field
CANNOT_SIGN
You can't sign that!
YOU_SIGNED_OBJECT
You sign Monkey Book. (To remove a signing, see "help unsign")
Object
OTHER_SIGNED_OBJECT
Ryan signed Monkey Book.
User, Object
USAGE
        Syntax: whisper person = message (or) .person message
	Usage: page person = message
      
Usage
NOT_HERE
I don't see that here.
NOT_CARRIED
You are not carrying that.
EXAMINED_NOT_OWNED
ghira is owned by ghira
Object, Owner
CHOWN_YOU
Jota has given you #994 (crab apple).
User, Object, DBRef
CHOWN_REJECTED
That doesn't belong to you, and it's not set chownok.
WIZARD_ONLY
Sorry, only a wizard can do that.
Sorry, you can't do that.
Only a wizard can do that.
Only a wizard can do that!
      
LINK_REJECTED
That location does not have its abode flag set.
POLL_TOO_LONG
Poll string too long by 4 characters. Try something shorter.
Number
DOING_TOO_LONG
Doing string 10 characters too long.  Try something shorter.
Number
DOING_SET
You set it, now you gotta do it.
Set - Your mom would definitely approve.
Set - Game, and match.
Set - have fun doing it.
Set - Collect 'em all!
Set - Just don't let the Smut Patrol see that.
!gnoid gnoid gnoiD
Help!  I'm prisoner in a Doing factory!
Doing doing doing!
      
SCORE_RESPONSE
You have achieved a score of 42 out of a possible 120. This gives you the rank of ifMUD player.
You have achieved a score oAf8f24$JT$h^*nl. This gives you the rank of [BUG].
Your score is zero. There are no points. Go away, and leave me alone.
      
EMPTY_PUBLIC_SAY
The cat that got your tongue is halfway down the hall by now.
Aw, nobody reads this message anyhow.
This message intentionally left blank.
Must not have been all that important, then.
Silent comedy showcase!
How polite of you to realize some things are better left unsaid.
Empty speech bubble!
Feeling silent today?
Good. Silence is golden, anyhow.
If the clown doesn't talk, why does he have a mouth?
      
Z_RESPONSE
Zed's dead, baby. Zed's dead.
Y_RESPONSE
I'm glad you feel that way.
BANG_RESPONSE
Speak up, wouldja?
DEFAULT_CHANNEL
Your default channel is currently "food/food".
Channel
EXIT_OPENED
Opened.
YOU_RIMSHOT
You do a rim shot: ba-dum-bum-tish!
OTHER_RIMSHOT
Raspberry does a rim shot: ba-dum-bum-tish!
User
WIN_RESPONSE We're sorry, but the MUD is in an unwinnable state. Please try again later.
EXIT_RECYCLED
The north exit vanishes!
Exit
OOK
Ook.
HELLO_SAILOR_RESPONSE
Helllooooo nurse!
NO_SUCH_PLAYER
No such player.
OBJECT_VANISHED
turtle vanishes!
Object
INVALID_ZONE
Invalid zone object.
EXECUTION_COMPLETE
[Execution is complete.]
OBJECT_TELEPORTED
Teleported.
OBJECT_HOME
turtle goes home.
Object
OBJECT_BACKLINKS
#10492: sponge
DBRef, Object
ACTION_RECYCLED
The push action on the wagon vanishes!
Action, Object
OBJECT_FIND
#8887: pocketwatch;watch;pw (in #7435: Ryan's Loft)
ObjectDB, Object, LocationDB, Location
GAG_ON
Gag in place on Rory
User
GAG_OFF
Removed gag on Rory
User
IGNORE_ON
Ignore in place on Rory
User
IGNORE_OFF
Removed ignore on Rory
User
CHANNEL_MUTE
You mute #alt/pastebomb temporarily.
Category, Channel
CHANNEL_UNMUTE
You un-mute #alt/pastebomb.
Category, Channel
AWAY_MESSAGE
Away message from Ryan: I'm doing something elsewhere.
User, Message
AWAY_REMINDER
Be sure to @set yourself away to fully complete the circle.
OBJECT_DISAPPEARED
turtle disappears.
Object
NO_CHANNEL
'apropos-fo-nothing': No such channel.
Channel
CURRENT_CHANNEL_CHANGE
(Current channel set to #alt/random/apropos-of-nothing)
Channel
NOT_MEMBER
You are not a member of #alt/animals/birds.
Category, Channel
SMARTASS_WHO_TYPO
No, no, no. It's 'WHO', ya doink.
SMARTASS_FINGER_TYPO
Take your figner out of your nsoe.
SMARTASS_WAYLAY_RESPONSE
ddyte, don't you have something better to do...
SMARTASS_COLON_RESPONSE
Sure. Do nothing.  How Zen.
SAVE_RESTORE_RESTART_UNDO_RESPONSE
Disk error. Cannot save, restore, restart, or undo.
AMUSING_HEADER
Things to try:
NAME_RULES Player names must consist of letters, numbers, non-trailing apostrophes, underscores, and hyphens.
OPTION_LIST_HEADER
The following options are available (* == set)
OPTION_LIST_BODY'
*autopoll     Automatically display poll whenever it changes
 chanchange   Notify me when default channel changes
 checkmail    Check and read MUDmail when using "bb *" and "bb check"
      
Set(F), Option, Description
OPTION_LIST_FOOTER
Use @oset to set an option, @oclear to clear it.
OPTION_SET
Option autopoll set
Option
OPTION_CLEARED
Option checkmail cleared.
Option
CURRENT_POLL
Current poll is: Ma! My beer!
Poll
POLLSTER
       Pollster: BoingBall
Pollster
FROM_HEADER
User       From
FROM_BODY
ddyte      2055:66.108.110.141
Miseri     1077:216.46.20.17
ParserGirl 1032:172.134.135.120
      
User, Port, IP
PAGE_OUTGOING
You page ddyte: Hi.
Recipient, Body
PAGE_INCOMING
ddyte pages: Hi back.
Sender, Body
FINGER_IDENTIFICATION
Login name: Ryan                          In real life: Ryan "Noah" Freebern
User, RealName
FINGER_DETAILS
Location: Ryan's Loft                     Gender: Male
Location, Gender
FINGER_CREATED
Member since: The Beginning
Created
FINGER_LOGIN
Currently logged in.                      Previous login: 28-Aug-01 02:21:57
PreviousDay, PreviousMonth, PreviousYear, PreviousTime
FINGER_EMAIL
Email address: rfreebern@corknut.org
Email
FINGER_IF IF work: The Six-Foot-Tall Man-Eating Chicken (sixfoot.z5), Tears May Fall (prophecy.z5), Sinking the Lily Jane (lilyjane.z5), Infiltration on Io (infiltrt.z5). IF
FINGER_URL
URL: http://www.corknut.org
URL
FINGER_PLAN
Plan:
FINGER_MAIL
Ryan has new mail.
User
MAIL_NEW
You have new mail from Jota.
User
MAIL_SENT
Message sent to Kiz.
User
BB_LIST_HEADER
  #r  From         Date               Subject
BB_LIST
  321 lurd         31-Aug-01 01:44:44 cookies!
N 322 Steve        31 Aug-01 12:41:02 web thing
      
New(F), Number, From, Day, Month, Year, Time, Subject
BB_MESSAGE_HEADER
#317 [ifmud/general]               From: Jarb          Date: 18-Aug-01 15:55
#415 [web/urls]                    From: Golrien       Date: 30-Aug-01 18:35
      
Number, Channel, From, Day, Month, Year, Time
BB_MESSAGE_SUBJECT
Subject: Shave My Poodle!
Subject
BB_MESSAGE_DELETED
Message 410 deleted.
Number
INVENTORY_HEADER
You are carrying
OTHER_INVENTORY
Carrying: kitten, ball, blender
Inventory
ROOM_INVENTORY
You can see: bench, chair, rug, goblet
Inventory
ROOM_PLAYERS
Players: Jota, katre, Jarb, Allen, Jearl
Players
ROOM_EXITS Visible Exits: north (to the closet), west (to Adam n' Jen's house) Exits
NOTHING_LINKED
Nothing is linked to that.
OBJECT_ACTIONS
Obvious Actions: bite cookie, throw cookie, toss cookie
Actions
OBJECT_GIVE
You gave turtle to ghira.
Object, Recipient
OBJECT_DROP
You drop turtle food.
Object
OBJECT_FIELD
osuccess: %n picks up the thing.
Field, Value
ZONED_SET
[Setting the zoned flag.]
USER_DISCONNECT
</mamster> mamster has disconnected from ifMUD.
User, Message
USER_CONNECT
<liza> liza has connected to ifMUD.
User, Message
WHERE_HEADER
User        Location
WHERE_FOOTER
Uptime: 04d01
Uptime
PLAYER_HEADER
Ryan #1491P Owner: Ryan Home: #7435 male jumpok builder expert spy
User, DBRef, Owner, Home, Flags
SPOOF
(From katre) mamster says, "Monkey!"
Emitter
CHANNEL
[linux] Limax says, "Grr."
Channel
INCOMING_WHISPER
inky whispers, "get off my couch!"
Sender, Body
OUTGOING_WHISPER
You whisper "I refuse!" to inky.
Recipient, Body
INCOMING_PRIVATE_POSE
inky privately poses to you: inky glares at you.
Sender, Body
OUTGOING_PRIVATE_POSE
You privately posed to inky: Ryan laughs evilly.
Recipient, Body
PASTE
Ghogg | Area Jarb Chases Tail
User, Message
STATEMENT, QUERY, EXCLAMATION, ACTION
BrenBarn says, "I like a monkey."
inky asks, "what is that?"
Hloif exclaims, "I don't get it!"
You vault over a chair.
      
Sender, Body
DIRECTED_STATEMENT, DIRECTED_QUERY, DIRECTED_EXCLAMATION, DIRECTED_ACTION
BrenBarn says (to DavidW), "Hi there."
inky asks (of Jota), "hrm?"
Hloif exclaims (to everyone), "I don't get it!"
Ryan (to katre) snarls.
      
Sender, Body, Recipient
UNKNOWN
(Anything not covered above.)
Guess, as well as possibly Item, User, Location

Copyright © 2001 Ryan N. Freebern.