Changing default blank command response

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:smile: :sad: :eek: :shock: :cool: :-x :razz: :oops: :evil: :twisted: :wink: :idea: :arrow: :neutral: :mrgreen:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Changing default blank command response

by Bainespal » Mon Feb 18, 2013 3:27 pm

Yes, thank you. I noticed that I needed to explicitly return true in the errornumber condition for my replacement string, or else it goes on to print the old "What?" after my replacement message.

by Roody_Yogurt » Mon Feb 18, 2013 10:12 am

That message is ParseError with error number 0, although that is one of the messages provided by the engine itself:
http://hugo.gerynarsabode.org/index.php ... ParseError

Still, you can change it just the same using NewParseError:
http://hugo.gerynarsabode.org/index.php ... ParseError

Changing default blank command response

by Bainespal » Mon Feb 18, 2013 9:26 am

Is there a way to substitute something else for the default "What?" printed when the player hits enter without typing anything? I notice that the "What?" string is neither stored in Message in hugolib.h nor VMessage in verblib.h. I don't know where it comes from.

Top