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, Yandex, Bing

Members: 0
Guests: 9
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 » Channels and Score...
Forum Rules | Mark all | Recent Posts

Channels and Score...
< Newer Topic :: Older Topic > Darn those things heh

Pages:<< prev 1 next >>
* #1 Oct 14, 2005, 6:48 pm   Last edited Oct 14, 2005, 6:48 pm by Vintar
Go to the top of the page
Go to the bottom of the page

Vintar

GroupMembers
Posts24
JoinedOct 8, 2005

Anyone know how to make a channel specifically for a group, like a guild or clan? So that they can have their own personal channels.
Also is there any way for me to show in the score like You are a member of the * guild. ?

Thanks in advance,
Vintar
       
Post is unread #2 Oct 24, 2005, 1:57 pm   Last edited Oct 24, 2005, 2:45 pm by Vintar
Go to the top of the page
Go to the bottom of the page

Vintar

GroupMembers
Posts24
JoinedOct 8, 2005

ok i figure one part out just need to figure out how to make it repeat if the person is in more then one guild/clan

if( ch->pcdata->clan_name && ch->pcdata->clan_name[0] != '\0' && ch->pcdata->clan->clan_type == 2)
pager_printf( ch, "You are a member of the %s guild.\n\r",
ch->pcdata->clan_name);
if ( ch->pcdata->clan_name && ch->pcdata->clan_name[0] != '\0' && ch->pcdata->clan->clan_type == 0)
pager_printf( ch, "You are a member of the %s clan.\n\r",
ch->pcdata->clan_name);
if (ch->pcdata->clan->clan_type != 0 && ch->pcdata->clan->clan_type != 2)
send_to_pager("You are not a member of any clan or guild.\n\r", ch);


Note: Make sure you have a guild or clan otherwise you will get a segmentation fault.
       
Post is unread #3 Oct 24, 2005, 6:38 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Unless you've modified the code, it's not possible to be a member of more than one clan or guild. This would take some work to be possible to use in multiple membership systems.
       
Post is unread #4 Oct 24, 2005, 7:19 pm
Go to the top of the page
Go to the bottom of the page

Vintar

GroupMembers
Posts24
JoinedOct 8, 2005

What I want to do is have it let players be members of multiple clans, but only one guild.
Any Ideas?
       
Pages:<< prev 1 next >>