How to set new command to appear beside prompt line?

Posted by RyhL19 on Fri 28 Oct 2011 09:21 PM — 2 posts, 11,361 views.

#0
I remember seeing it somewhere, but spent 15 minutes looking for that option, yet to be found....

I find it neater and less spammy if my input commands appeared on the side of my prompt line.

The option is not appearing under Output or Commands.

New here, please go easy on me.

Thanks


PS: Also, I'm working to setup a ColourNote that displays Fully Healed! when my HP is full (just started learning the basics, reading MUSHCLIENT Introduction to Scripting). Problem is, it works when the script goes:

if %1 < (whatever number I put)

But because I'm trying to match my HP to its full value, I do:

if %1 = 300 (being my max HP)

However this doesn't work. Is the "=" sign not recognised?

Thanks again. I can't seem to find a list of correct commands for "if" in the Help file provided with the freeware.
Amended on Fri 28 Oct 2011 10:37 PM by RyhL19
Australia Forum Administrator #1
World configuration -> Input -> Commands -> Keep Commands On Prompt Line.


Quote:

if %1 = 300 (being my max HP)


http://www.gammon.com.au/scripts/doc.php?lua=if%20/%20then%20/%20else

You need "==" not "=".


And:

http://www.gammon.com.au/scripts/doc.php?lua=relational%20operators

These are in the help file in the program.