Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Google, Yandex, Yahoo!

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Something neat
Forum Rules | Mark all | Recent Posts

Something neat
< Newer Topic :: Older Topic > Do_wizinfo

Pages:<< prev 1 next >>
Post is unread #1 Jul 17, 2004, 6:36 am   Last edited Nov 18, 2007, 4:40 pm by Samson
Go to the top of the page
Go to the bottom of the page

cynshard

GroupMembers
Posts95
JoinedNov 19, 2003

My head builder ( and we all know where this is going to go ) asked for a feature be added to do_wizinfo so that he could view only the builders. The change is so simple I thought I'd post it here for anyone who wants to use it.

In do_finger find:

for( wiz = first_wizinfo; wiz; wiz = wiz->next )
       {


Immediately under that place the following:

            // Allows an argument to show only a certain realm
            // --Cynshard
            if( argument && argument[0] != '�' )
                    if( str_cmp( realm_string[wiz->realm], argument ) )
                            continue;


That should get it.

Cynshard
       
Post is unread #2 Jul 18, 2004, 11:13 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Cool. Simple and useful, may as well go ahead and filter that into the base

Not like we have enough staff to really make proper use of it, but hey
       
Pages:<< prev 1 next >>