[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  More help file issues

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

More help file issues

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Asean Novari   USA  (82 posts)  [Biography] 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.



[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Asean Novari   USA  (82 posts)  [Biography] 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?



[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] 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]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]