Mushclient Questions

by Esano

Back to Mechanic's Corner.

james2010-12-20 19:25:18
How would I set timers for meld effects on MUSH?

Edit: This is for Lua
Trinit2010-12-20 19:56:05
I forget the exact syntax, but it's something like this in vbscript.

make the alias do

world.send "blah"
world.doafter 10, "blah2"
world.doafter 20, "blah3"

And so on.
Unknown2010-12-21 02:44:28
Lua is:

DoAfter(10, "pyrocast smokehaze demesne")
DoAfter(20, "pyrocast firestorm demesne")
james2010-12-21 18:46:01
So I made a trigger that would announce when people would come in and out of meld

What if a group of people came in, how would I make it to announce in one line?

This for Lua!

Thanks!
Faymar2010-12-22 08:28:41
QUOTE (Tedd C. @ Dec 21 2010, 08:46 PM) <{POST_SNAPBACK}>
So I made a trigger that would announce when people would come in and out of meld

What if a group of people came in, how would I make it to announce in one line?

This for Lua!

Thanks!

For each person entering you get a newline with the person's name? If that is the case, then the easy way would be like this. Each time you see a person entering your demesne you store its name in a table and assign true to the variable has_entered. At the prompt you check if has_entered is true and then concatenate the names into a string and send it to the mud. If you are having troubles with the code, I can post it for you (don't expect a quick reply though).

If you are using Treant, you might want to ask Iasmos if he can show you how to do that using his prompt queue.

If you are using another system, there should be something similar to a queue called each prompt, if you want to use it, ask the person who wrote it. Or try to do it by yourself, that should take you a few days of trial and error.
Mirami2010-12-27 06:13:23
Is there a decent timestamp (plugin or script) available?
Unknown2010-12-27 12:53:37
If I want two different triggers to both trigger on the same line, how do I go about doing it?

The reason why I'm not just merging the two triggers is because they're from two different plugins.
Unknown2010-12-27 12:55:12
Triggers in different plugins won't interfere with one another. Triggers in your main world settings just need to have the 'keep evaluating' option enabled.
Unknown2010-12-27 13:01:38
Oh, ok, thanks!
james2010-12-29 23:53:27
Anyone know how to trigger heartbust once somebody has 12 vessels or higher?
Unknown2011-01-21 07:33:23
When you 'Omit from output', is there any way to gag the newline that follows?
Awasos2011-02-25 04:17:14
Does anybody have a traveling script for mushclient? I'm new to the land and something like this would be very helpful for me now that I've used up all my portals.
Unknown2011-02-25 15:05:14
I've chatted with some people about this, but I'm wondering if anyone here has any direct experience with running MUSHclient in Wine. Does it lag at all? I have the option of continuing in Wine or dual booting Windows 7/Ubuntu. Just wondering which will be the most effective, and lag the least.

Edit:
QUOTE (Awasos @ Feb 25 2011, 12:17 AM) <{POST_SNAPBACK}>
Does anybody have a traveling script for mushclient? I'm new to the land and something like this would be very helpful for me now that I've used up all my portals.

You can path find to some places within 50 moves of the landmark. PATH LANDMARKS shows it. Other than that, the maps at old.lusternia.com and Caffrey's maps are godsent. Caffrey has a map of the entire basin including the UV.
Unknown2011-02-25 15:32:33
You could try Nick's mapper plugin, but it lacks a lot of the whizbang features some like to use with their maps in IRE games. HELP MAPS is your friend, though, especially if scripting is a bit beyond your understanding at the moment.


I have no personal experience with Wine, but I hear it can lag quite a bit, which is to be expected running a virtual machine like that.
Unknown2011-02-25 15:43:10
QUOTE (Zarquan @ Feb 25 2011, 11:32 AM) <{POST_SNAPBACK}>
I have no personal experience with Wine, but I hear it can lag quite a bit, which is to be expected running a virtual machine like that.


I was expecting some lag, yes, but I'm wondering if it's like... 10 second command lag oh my god I'm dead, or slightly lagging, heh. I'll probably boot up Windows 7 tonight, then. On the topic of coding... are there any other good resources other than the official manuals for learning to script in MUSH?
Unknown2011-02-25 15:54:46
Best resources I know, other than the MUSHclient help files online:
  • http://www.lua.org/docs.html
  • http://lua-users.org/
Rivius2011-02-25 20:20:51
QUOTE (Caerulo @ Jan 21 2011, 03:33 AM) <{POST_SNAPBACK}>
When you 'Omit from output', is there any way to gag the newline that follows?

Well, this is how I do it.

Make a trigger that matches on "^$", make sure "keep evaluating" is on, and give it a name like "gag_line" then put in the code box EnableTrigger("gag_line",false).

Now whenever you want to gag a line, put this into the code box of the trigger you want to omit : "EnableTrigger("gag_line",true)"

And that should be eet. smile.gif

EDIT: I am an idiot and thought this was a more recent post D:
Unknown2011-04-20 14:21:29
Is there currently a tabbed chat type thing for MUSHclient? Trying to make MUSH look more like Mudlet because quite honestly, I'll never be able to use it if it isn't. tongue.gif
Unknown2011-04-20 14:27:02
I have a channel capture plugin I use, but it's not tabbed. I adapted one I found on the MUSHclient forums.
Unknown2011-04-20 14:40:50
QUOTE (Zarquan @ Apr 20 2011, 11:27 AM) <{POST_SNAPBACK}>
I have a channel capture plugin I use, but it's not tabbed. I adapted one I found on the MUSHclient forums.


Ahah, thank you. I was browing the forums as well there, looking for different things. Everyone says that MUSHclient is so much easier to code in... I think once I get back into it I'll survive. >.<