Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Bing, DotBot

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
Vintar (28)
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,643
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 >>