Okay, I got single room description tags and description auto-tags working great but I just can't seem to get a linked tag system in place. Haven't even tried working on nested ones yet..
What I mean by linked tags is a setup where the current syntax for the tags, #tagname[Text], can be extended to #tag1:#tag2[:#tag3..][Text]. These would work like an if check like so, if( #tag1 == true && #tag2 == true ).
So like the title asks, should I even really bother? What about nested tag support? If anyone thinks I should get one or both of them in, how can I go about it? I've hit a wall on the linked tags.
And just so nobody has to ask what the auto-tags do, they work by putting tags using a #tagname#, note the second '#', into a room description which automatically get replaced with whatever they're linked to. Currently only day/month names because I really couldn't think of anything else and adding them in was just a spur of the moment thing heh.
So, I guess I'll give a quick example of them at work. Here's the room desc for the room I've been using to test the system with.
1> This is the office of the Immortal Andril.[NL] A large chair sits behind a massive
2> wooden desk. #rain[A rainy]#lightning[A stormy]#cloudy[An overcast]#clear[A
3> clear] #morning[morning] #anoon[afternoon] #evening[evening] #night[night]
4> sky is visible through a window set in the north wall while a number of old
5> fashioned oil lamps #day[sit unlit, waiting to be used]#night[fill the
6> office with a cheerful glow]#sunset[fight the darkness that comes with the
7> lowering sun].
And here's what it looks like based on the current game time and weather.
This is the office of the Immortal Andril.
A large chair sits behind a massive wooden desk. A stormy morning sky is
visible through a window set in the north wall while a number of old fashioned
oil lamps sit unlit, waiting to be used.
The sky is lit by flashes of lightning and a warm southerly breeze blows. -- weather command
It is 11 o'clock am, Day 19, Natunda, in the Month of Welona. -- time command
And yes, I'll freely admit it. The syntax is influenced by Remcons. If he wants, I'll be happy to change it, but it just makes sense to me this way...