Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Asean Novari
USA (82 posts) bio
|
| Date |
Wed 02 Mar 2005 09:02 PM (UTC) [ quote
] Amended on Wed 02 Mar 2005 09:07 PM (UTC) by Asean Novari
|
| Message |
Ive looked all throughout the do_help feature in act_info...
I cant seem to find the part where it removes the level number in front of the help files name..
Can someone please point me in the correct direction..
I wish to extend this so it also hides the help file name as I have incorperated the name into the help file itself and dont need it displayed twice.
Text in italics is already hidden.. bold is what i wish to be hidden as well
help rmenu
101 RMENU
The menu commands are no longer in operation.
|
| top |
|
| Posted by |
David Haley
USA (3,881 posts) bio
Moderator |
| Date |
Reply #1 on Wed 02 Mar 2005 09:05 PM (UTC) [ quote
] |
| Message |
if ( pHelp->level >= 0 && str_cmp( argument, "imotd" ) )
{
send_to_pager( pHelp->keyword, ch );
send_to_pager( "\n\r", ch );
}
Glancing at the code showed this much for the keyword, don't know about the level, though. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|
| Posted by |
Asean Novari
USA (82 posts) bio
|
| Date |
Reply #2 on Wed 02 Mar 2005 09:09 PM (UTC) [ quote
] |
| Message |
| Would getting rid of "send_to_pager( pHelp->keyword, ch );" make it so it displays the help file but not the keyword? |
| top |
|
| Posted by |
David Haley
USA (3,881 posts) bio
Moderator |
| Date |
Reply #3 on Wed 02 Mar 2005 09:58 PM (UTC) [ quote
] |
| Message |
| What that line does is send the text in pHelp->keyword - in other words, the help file's keyword - to the character's pager - in other words, to the player. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
1,433 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )