Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I make a room occasionally display messages?

display Messages room
0
Posted

How do I make a room occasionally display messages?

0

Use SetAction. There is a well-commented example of this in /domains/town/room/shore.c . My functional isn’t working! Functionals are a kind of reference to a function. They won’t work everywhere. For the most part they serve as a pointer, and are used the way a variable would be used. If the place you put the functional wouldn’t make sense for a variable, it wouldn’t make sense for the functional either. For example, SetLong( (: ShowLong 🙂 ); makes sense, because what’s happening is that instead of a string, your argument is a function that returns a string. However, something like this wouldn’t work, if( Cabbages == Kings ) (: eventTalk :); because you’re treating a functional as if it were a function. It isn’t. In a case like this, your line should look like this: if( Cabbages == Kings ) eventTalk(); I’ve read the Creator’s Manual but I still don’t understand mappings and arrays. Yeah, they can be tricky to get a handle on. Let’s suppose you’re going to set up a nautical commerce s

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123