Register forum user name Search FAQ

Gammon Forum

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 ➜ SMAUG coding ➜ Score and adding a Tier part

Score and adding a Tier part

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Rash   United Kingdom  (56 posts)  Bio
Date Thu 30 Oct 2003 06:44 PM (UTC)

Amended on Thu 30 Oct 2003 08:55 PM (UTC) by Rash

Message
Iv just added remort to my mud and i was wondering how to add a 'Tier: ' part to Score. What i mean is for it to check what tier the player is and then display it in score. How do you do this? Im a newbie (took me about 4 hours just to get remort in :-() so any help would be very helpful!

Also maybe someone could help me add the Tier infomation to who as well so it shows up like:

T:2 (Second Tier) L:35 (current level) <name> <title>

Cause i dont know how to do that either!
Thankx

Rash
Top

Posted by Rash   United Kingdom  (56 posts)  Bio
Date Reply #1 on Thu 30 Oct 2003 10:28 PM (UTC)
Message
Ok i manged to do the do_score part
(added: pager_printf_color(ch, "Tier: &W%d \n\r", ch->pcdata->tier);
and that works :-P) but how do i add the who part... i still want it show it reads when u type who

T:2 L:35 Rash the n00bie
T:1 L:12 Myryken The Knight

etc...

How do you do that? (Also how do u add the L: to the level part???)

Thankx for any help

Rash
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.


9,856 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.