Jules2011-01-11 16:52:18
QUOTE (Vadi @ Jan 11 2011, 08:29 AM) <{POST_SNAPBACK}>
display(table.size(table)) would do it.
Ah, excellent! Thank you, Vadi! I didn't know about that!
Fuyu2011-01-11 18:33:25
(Ignore this til I figure out how to delete this)
Zalandrus2011-01-11 21:49:13
Might be an m&m question, but here goes: I recently updated m&m (hopefully correctly), but now whenever I start up mudlet it keeps asking me where the m&m folder is (whereas this didn't happen before the update). Why is this and is there a fix?
Lilia2011-01-11 21:59:24
QUOTE (Zalandrus Meyedsun @ Jan 11 2011, 03:49 PM) <{POST_SNAPBACK}>
Might be an m&m question, but here goes: I recently updated m&m (hopefully correctly), but now whenever I start up mudlet it keeps asking me where the m&m folder is (whereas this didn't happen before the update). Why is this and is there a fix?
Huh, this is happening to me too. I just thought I'd installed it wrong and was going to try again whenever I happen to remember to do so. I'll do that now and let you know if it helps.
Edit: Nope, didn't change anything.
Vadi2011-01-11 23:21:44
Unknown2011-01-12 13:28:30
Can someone tell me how to gag? It's one thing that I never learned how to do, and I don't really want to read back through this entire thread to see if it was already answered.
/nOOb.
/nOOb.
Ilyssa2011-01-12 13:54:19
QUOTE (Kayte @ Jan 12 2011, 10:28 AM) <{POST_SNAPBACK}>
Can someone tell me how to gag? It's one thing that I never learned how to do, and I don't really want to read back through this entire thread to see if it was already answered.
/nOOb.
/nOOb.
CODE
selectLine()
deleteLine()
deleteLine()
noob
Edit: Jk. >.>
Neos2011-01-12 14:54:40
QUOTE (Ilyssa @ Jan 12 2011, 08:54 AM) <{POST_SNAPBACK}>
CODE
deleteLine()
Just need that. Can throw everything you want to gag into one trigger until you hit the max, but if it's always followed by a prompt you'll get a bunch of blank prompts unless you put something in to check for that.
Lilia2011-01-12 18:29:54
deleteLine()
gagPrompt = true
Then in your prompt trigger:
if gagPrompt == true then
deleteLine()
gagPromt = false
end
gagPrompt = true
Then in your prompt trigger:
if gagPrompt == true then
deleteLine()
gagPromt = false
end
Vadi2011-01-12 18:56:27
That, or import this script, and use deleteFull(), no prompt mods necessary
Unknown2011-01-12 20:09:59
Thanks for helping the nOOb! 

Jules2011-01-12 21:30:52
QUOTE (Vadi @ Jan 12 2011, 01:56 PM) <{POST_SNAPBACK}>
That, or import this script, and use deleteFull(), no prompt mods necessary
Question: Why the two deleteLine() functions?
Gartinua2011-01-13 02:51:42
QUOTE (Jules @ Jan 13 2011, 08:30 AM) <{POST_SNAPBACK}>
Question: Why the two deleteLine() functions?
This first deletes or gags the line you didn't want. The second checks to see if the next line is a prompt and if it is then delete that too. A simple one line gag will mean your screen fills with prompts, if there is a lot to get rid of. This way you don't even notice anything if you are being spammed with uninteresting messages.
Unknown2011-01-15 00:02:11
I'm about to get a new laptop. How can I export everything so that my new computer will have a more or less an exact copy of all my scripts on it?
Unknown2011-01-15 00:03:47
QUOTE (Shou @ Jan 14 2011, 08:02 PM) <{POST_SNAPBACK}>
I'm about to get a new laptop. How can I export everything so that my new computer will have a more or less an exact copy of all my scripts on it?
Save the profile.
Edit: hit save profile as. Then import that on the new computer.
Unknown2011-01-15 11:20:49
QUOTE (Shou @ Jan 15 2011, 12:02 AM) <{POST_SNAPBACK}>
I'm about to get a new laptop. How can I export everything so that my new computer will have a more or less an exact copy of all my scripts on it?
Depends on the operating system, really. Linux? Use rsync. Windows? I 'unno.
Jules2011-01-15 17:43:38
No need. Just as Kayte said, hit the Save Profile As button, and email that .xml file to yourself, or put it on a flash drive, or something. WIN!
Unknown2011-01-15 18:58:54
If you have a lot of stuff you want to back up, get an external hard drive. Otherwise, for small things your mudlet profile, dropbox is awesome.
Sondayga2011-01-17 10:43:27
Is there a way to clear the main bufffer/window etc?
Unknown2011-01-17 12:25:43
QUOTE (sondayga @ Jan 17 2011, 10:43 AM) <{POST_SNAPBACK}>
Is there a way to clear the main bufffer/window etc?
CODE
clearUserWindow()
You can also:
CODE
clearUserWindow(window_name)
Works with the main window and miniconsoles.
There is also clearWindow() but I have not used that in a long, long time and it may well be deprecated now, so check this.