Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Running the server
➜ More help file issues
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Asean Novari
USA (82 posts) Bio
|
Date
| Wed 02 Mar 2005 09:02 PM (UTC) 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
|
Date
| Reply #1 on Wed 02 Mar 2005 09:05 PM (UTC) |
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) |
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
|
Date
| Reply #3 on Wed 02 Mar 2005 09:58 PM (UTC) |
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.
12,949 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top