Unknown2009-11-26 06:49:08
QUOTE (Ried @ Nov 26 2009, 02:09 PM) <{POST_SNAPBACK}>
It's MUSHclient's auto say. It happens to me too. If you have the world toolbar up, there should be a pressed button with a person talking. You can disable it in the world config window.
Thanks!
Everiine2009-11-27 04:28:57
If I ever find that key combination (I've accidentally enabled Auto Say too), I will smash it. To bits.
Unknown2009-11-27 13:03:07
If it's an accidental macro issue, you can find the key listed on the menu and then make your own accelerator to override that.
Everiine2009-11-27 21:45:46
But that doesn't have the satisfying crunch I'm looking for.
Mirami2009-11-28 05:38:05
it's SHIFT-CONTROL-A for auto-say.
Mirami2009-11-28 21:56:39
how do you do the multi-colour notes (like Iasmos' TREANT:' thingy)?
Gregori2009-11-28 22:13:45
QUOTE (Romertien @ Nov 28 2009, 03:56 PM) <{POST_SNAPBACK}>
how do you do the multi-colour notes (like Iasmos' TREANT:' thingy)?
CODE
ColourNote("pink", "black", "This ",
          "cyan", "black", "is ",
          "red", "black", "what ",
          "yellow", "black", "it ",
          "purple", "black", "looks ",
          "pink", "black", "like ",
          "green", "black", "when ",
          "cyan", "black", "Skittles ",
          "red", "black", "barf ",
          "blue", "black", "on ",
          "yellow", "black", "your ",
          "green", "black", "screen.")
          "cyan", "black", "is ",
          "red", "black", "what ",
          "yellow", "black", "it ",
          "purple", "black", "looks ",
          "pink", "black", "like ",
          "green", "black", "when ",
          "cyan", "black", "Skittles ",
          "red", "black", "barf ",
          "blue", "black", "on ",
          "yellow", "black", "your ",
          "green", "black", "screen.")
Mirami2009-11-28 22:17:37
QUOTE (Gregori @ Nov 28 2009, 02:13 PM) <{POST_SNAPBACK}>
CODE
ColourNote("pink", "black", "This ",
          "cyan", "black", "is ",
          "red", "black", "what ",
          "yellow", "black", "it ",
          "purple", "black", "looks ",
          "pink", "black", "like ",
          "green", "black", "when ",
          "cyan", "black", "Skittles ",
          "red", "black", "barf ",
          "blue", "black", "on ",
          "yellow", "black", "your ",
          "green", "black", "screen.")
          "cyan", "black", "is ",
          "red", "black", "what ",
          "yellow", "black", "it ",
          "purple", "black", "looks ",
          "pink", "black", "like ",
          "green", "black", "when ",
          "cyan", "black", "Skittles ",
          "red", "black", "barf ",
          "blue", "black", "on ",
          "yellow", "black", "your ",
          "green", "black", "screen.")
Excellent, thank you.
Kante2009-12-01 23:00:01
Sort of MUSHclient related...
I'm looking to learn Lua. Can anyone suggest a few (in your opinion) "good" online tutorials?
I'm looking to learn Lua. Can anyone suggest a few (in your opinion) "good" online tutorials?
Unknown2009-12-01 23:35:47
I recommend you start with the Lua Directory on the Lua Users' Wiki and go from there. They have links to guides and tutorials, which should help you out a good bit. Also, the Programming in Lua book on the official Lua web site is pretty good (and available free online).
Kante2009-12-01 23:36:20
QUOTE (Zarquan @ Dec 1 2009, 06:35 PM) <{POST_SNAPBACK}>
I recommend you start with the Lua Directory on the Lua Users' Wiki and go from there. They have links to guides and tutorials, which should help you out a good bit. Also, the Programming in Lua book on the official Lua web site is pretty good (and available free online).
I was hoping for a response from you.
Thanks!
Unknown2009-12-02 04:02:57
Umm... I've been trying for quite a while to get double condition if statements to work.
The way I did it was:
if ((condition) & (condition)) then
Stuff
This may be wrong. I have no clue. Would anyone be willing to help me out?
The way I did it was:
if ((condition) & (condition)) then
Stuff
This may be wrong. I have no clue. Would anyone be willing to help me out?
Talan2009-12-02 06:19:03
If you're using lua, it's 'and' not '&'... so
if condition1 and condition2 then
do stuff
end
if condition1 and condition2 then
do stuff
end
Razenth2009-12-02 06:50:45
And remember, & by itself generally means bitwise and! Logical and is two of the suckers, &&.
Dynami2009-12-11 03:47:24
If I am trying to make a colour note for when someone tumbles, I will need to use two (.*?) for the person and the direction. How do I make it so that each (.*?) is different and that the person and direction are shown?
Talan2009-12-11 04:53:56
Maybe there is a better way, but you could always gag the line and reprint it with the coloring you like.
Trigger this:
^(\\w+) begins to tumble towards the (\\w+)\\.$
omit from output, regular expression
Send this:
ColourNote ("hotpink", "black", "%1", "white", "black", " begins to tumble towards the ", "red", "black", "%2", "white", "black", ".")
as script after omit.
Trigger this:
^(\\w+) begins to tumble towards the (\\w+)\\.$
omit from output, regular expression
Send this:
ColourNote ("hotpink", "black", "%1", "white", "black", " begins to tumble towards the ", "red", "black", "%2", "white", "black", ".")
as script after omit.
Dynami2009-12-11 05:19:55
Trigger: ^(.*?) tumbles out to the (\\w+)\\.$
Send: ColourNote("hotpink", "white", string.upper("****%1") .. ", "white", "black", "TUMBLED OUT TO THE, "red", "white", string.upper .. ("****%2"), "white", "black" !****")
Error: Compile error
World: Treant
Immediate execution
:1: ')' expected near 'white'
Does anyone know what I am doing incorrectly?
Send: ColourNote("hotpink", "white", string.upper("****%1") .. ", "white", "black", "TUMBLED OUT TO THE, "red", "white", string.upper .. ("****%2"), "white", "black" !****")
Error: Compile error
World: Treant
Immediate execution
:1: ')' expected near 'white'
Does anyone know what I am doing incorrectly?
Talan2009-12-11 05:42:41
ColourNote("white", "black", "****", "hotpink", "white", string.upper("%1"), "white", "black", "**** TUMBLED OUT TO THE ****", "red", "white", string.upper ("%2"), "white", "black", "!****")
try that maybe? Were you wanting the ****'s highlighted? You can't use the .. to join strings in this function, you'd just add another color, color, text. Edit: Ah. Ignore that last sentence. It is amazing what wonders a good night's sleep can work on a scripting language's capability.
try that maybe? Were you wanting the ****'s highlighted? You can't use the .. to join strings in this function, you'd just add another color, color, text. Edit: Ah. Ignore that last sentence. It is amazing what wonders a good night's sleep can work on a scripting language's capability.
Unknown2009-12-11 12:43:13
You could use .. to join two strings, except it's used inappropriately in this instance.
Unknown2009-12-25 23:59:20
Why won't Mush let me Gag a multi line trigger?