This section of my site is for any MUSHcode tips & tricks & FAQs I can think of.
FAQ #1: Why can't I use <Insert Command Here> inside <Insert Function Here>?
Answer: COMMANDS DON'T GO INSIDE FUNCTIONS! You should not be afraid to use commands, as most run in the same queue cycle. With the exception of @switch/@select, @force, @wait, @trigger, and @dolist.
FAQ #2: Is there a wait() function?
Answer: A resounding NO! There will never be a wait() function because functions messing with the queue is just asking for trouble. Use @wait, you could also try nesting @waits in certain situations to save on queue cost. Make sure to read up on CURLY BRACES.
Trick #1: @Set attributes on yourself without seeing that annoying Set message and without @setting yourself QUIET.
Trick #2: New way of filtering large lists using less invocations.
Trick #3: Using switch().
Tip #1: Evaluation locks. Locking something to the result of a function.
Back