Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Building/Program Question

Building/Program Question

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Moroj   (12 posts)  Bio
Date Wed 23 Aug 2017 09:27 PM (UTC)
Message
So I'm trying to write a room program where after you look at a sign in the room a help file is loaded. Is that possible?

I've tried doing this without loading a help file but I run into formatting issues when just doing a simple exam program because I cant format the output on the MPECHO how I would like.

Basically I'm trying to create a basic ASCII graphic and have it be displayed after looking at the sign. So all alternative methods would be appreciated.

Any ideas?

-Moroj
Top

Posted by Moroj   (12 posts)  Bio
Date Reply #1 on Fri 25 Aug 2017 07:57 PM (UTC)

Amended on Fri 25 Aug 2017 08:02 PM (UTC) by Moroj

Message
On the Herne's building guide it states that room programs can have an "exa" trigger but that their are options "{p}". I haven't been able to determine what these options are.

Can someone provide me with some information on this?
Top

Posted by Moroj   (12 posts)  Bio
Date Reply #2 on Fri 25 Aug 2017 08:24 PM (UTC)
Message
Okay so I was able to cross reference some different building information and it doesn't appear that you can actually program an "exa" trigger for a room program.

So if I was going to create a sign that displayed impormation would it be best to just create an object and then add the program to that? If so what object type best fits a sign?
Top

Posted by Nick Gammon   Australia  (23,121 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 29 Aug 2017 06:24 AM (UTC)
Message
I'm sorry, but I don't know the answer to your question. Possibly looking at the source code would help.

There are quite a few versions of the source, you might want to use SmaugFUSS if you aren't already.

https://www.smaugmuds.org/

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,439 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.