How to import a tinyFugue Script

Posted by Lusiphur on Tue 09 Dec 2008 11:10 AM — 11 posts, 34,831 views.

#0
Hey there.
I am totally happy with the MUSH client :-) for years now, although all the others keep telling me how much better the tf is...
well... the only thing they have I don´t is: a script to research details of a room. now I got the "untroom.tf" file and wanted to put it in my MUSH somehow...

people told me that tf had an own language which is not provided by MUSH but it should be possible...

but as I am just a user... erm.... how?

Regards from Germany
Lusiphur
#1
or maybe if it isn´t possible to import... does anyone of you have a script which allows to do fast research on details in a room, on npcs, quetsions npcs etc.?
#2
anybody any idea? Or anybody a written plugin similar to this?
Netherlands #3
TF scripts can indeed not be used within MUSHclient. As such, you will either need to write your own plugin, or find someone elses.

With a bit of studying and asking of your friends, you should be able to figure out what that TF plugin does. You can try to replicate it afterwards. (Or you can write such a plugin from scratch. :))
Australia Forum Administrator #4
This thread demonstrates converting a zMUD script into MUSHclient:

http://www.gammon.com.au/forum/bbshowpost.php?id=9157

I believe zMUD scripting is similar to TF.

However as others have said, MUSHclient cannot directly process TF - for one thing, the behaviour of things like triggers and aliases is a bit different, so scripting needs to take that into account.

It would help to paste your current untroom.tf file (or at least, part of it, if it is big) so we can see roughly what it does.

Something like questioning an NPC should be easy enough with a trigger and a bit of scripting. Perhaps if you showed an example of MUD output to illustrate what you had in mind?
#5
http://www.koders.com/noncode/fidFB01EA6B92846B0FD0D3F94BCD15731D0E857C3C.aspx

here is a link to the complete untroom.tf where most things are in english. Hope it helps?

Regards from germany
#6
basically this plugin is supposed to check all details in the room and ask npcs about all possible details.

then give a list of all details, descriptions, details in descriptions and their descriptions

supposed to make exploring faster (especially when you have been there and just look for 1 detail you might have not seen)

always helps the people with tf they tell me

Thanx for the effort... owe you one if it works :-)
#7
well... as I really just am a user - to my shame - I didn´t even understand the demonstration thread :-(

so... a donation to anybody who can make it work :-)
#8
so... this is basically a room in the mud. as it is a german mud you need to know that in German nouns have a capital letter. Basically 99 % of the details are nouns

>>
Nachdem Du Dich durch die enge Einkerbung gezwaengt hast, befindest Du Dich in der Eiche. Sie ist von innen hohl, jedoch nicht vergammelt. Sie scheint bereits so hohl gewachsen zu sein, denn auch hier innen strotzt der Baum vor
Leben. Licht kann durch zwei scheinbar natuerlich gewachsene Fenster ohne Scheiben hereinfallen. Vor den Fenstern sind von innen geschlossene Holzluken angebracht, die man jedoch oeffnen koennte, so dass momentan von aussen die Fenster nicht zu sehen sind. Vor den Fenstern haengen in dunklem Blau gehaltene Vorhaenge. An der Decke haengt eine Art offene Lampe. An den Waenden befinden sich mehrere Bilder und Vitrinen. In der Mitte des Raumes fuehrt eine
ebenfalls natuerlich gewachsene Wendeltreppe weiter nach oben. Direkt neben der Treppe befindet sich ein Loch im Boden, das in den unterirdischen Teil des Baumes fuehrt.
<<

to "look" for details
it is basically "untersuche" (look, search), "lausche" (listen), "rieche" (smell)

example:

untersuche Fenster (look windows)

>>
Die Fenster sind hinter den schweren Vorhaengen und den Holzluken nicht zu sehen.
<<

untersuche Vorhaenge (look curtains)

>>
Welchen Vorhang meinst Du denn? Den Eingangsvorhang oder den Fenstervorhang?
<<

unt Eingangsvorhang

>>
Der Vorhang an der Einkerbung besteht aus lebendem Efeu und lebenden Ranken, die von aussen hereinwachsen.
<<

etc etc etc.

basically the plugin should work as a "researcher" you get into a room, startit it does "lausche" in general and then with the results vor all details, then "rieche" in general and for all result-details, then "untersuche" for all details in the room and each sublevel-result-details.

Important thing is that it has to filter sublevel or room details details which repaet itselves so the plugin doesn´t get into a neverending loop.

all the text is supposed to be put out in the mud-world so the player can manually do research for non-typical details with non-typical verbs like e.g. "schmecke" (taste) which are rarely used.

hmmm. this enough for the explanation? Possible for anybody to write that or extract that from the untroom.tf plugin I posated the link to?

Wit many thanx & regards from Good Old Germany
Lusiphur
#9
any more information needed? can anybody help?
Australia Forum Administrator #10
Personally I am working on improving MUSHclient, and don't have time to write a script from scratch. It looks like you could do it with some effort, it helps that the relevant words are capitalized, as a regular expression could find those.

You will probably find people willing to help if you try to do it yourself, and post specific questions about problems. Asking for a script to be written from scratch, for a MUD in German, is probably asking a bit much.