FAQ Search Memberlist Usergroups
Jolt Country Forum Index
Register Profile Log in to check your private messages Log in
Log in Log in

Changing default blank command response

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors
View previous topic :: View next topic  
Author Message
Bainespal



Joined: 09 Jul 2010
Posts: 151

PostPosted: Mon Feb 18, 2013 9:26 am    Post subject: Changing default blank command response Reply with quote

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.
Back to top
View user's profile Send private message
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Mon Feb 18, 2013 10:12 am    Post subject: Reply with quote

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?title=ParseError

Still, you can change it just the same using NewParseError:
http://hugo.gerynarsabode.org/index.php?title=NewParseError
Back to top
View user's profile Send private message AIM Address
Bainespal



Joined: 09 Jul 2010
Posts: 151

PostPosted: Mon Feb 18, 2013 3:27 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001 phpBB Group

Theme by Kage Musha - RPG Garden

Copyrights and trademarks are all of the belonging company. No copyright Infringement intended