[Mudlet] Some random things you may not have known

JonathinJonathin Retired in a hole.
edited December 2012 in Client Help
So, I'm creating this so that people who are versed in Mudlet can share some of the tips and tricks that make scripting easier. These tips and tricks can be simple one-line deals or complex affairs.

You can add a false argument to send() and sendAll() functions to keep yourself from being spammed with your own commands.

send("hi", false)
sendAll("hi", "laugh", false)

If you're writing a script and you're not sure where a bug is, just put echo() at each step of the script.

  echo("\nStep 1")
  if variable == true then
    echo("\nstep 2 (true)")
    send("do stuff")
   echo("\nstep 2 (not true)")
   send("do other stuff")

I had a whole long list of these things, but something distracted me in game and I forgot the rest. If you have things to add, post!
I am retired and log into the forums maybe once every 2 months. It was a good 20 years, live your best lives, friends.
Sign In or Register to comment.