View Single Post
Old 08-06-2008, 03:00 PM   #3 (permalink)
typhoonbot
Forum Novice
 
typhoonbot's Avatar
 
Join Date: Dec 2006
Posts: 480
Default

Thanks man - you have been a great help as usual...

Let me explain my situation a bit more (I thought I could do this alone, but I tried, and it looks like I need a lot more help than I thought. I will get there some day)

Thieves on my shard need to be in a guild I made (its not made with the standard guild system). when they dbl click a custom item (Guild Stone), a gump appears, and it has two buttons.

Join Button:

Code:
case 1:
                    {
            			if ( pm.ProfessionNumber == 10 )
            			{
                        	pm.Umbarian = 1;
                        	pm.SendMessage( 68, "You have joined the Umbarian Shadows Thief Guild.");
                        	pm.Backpack.DropItem( new UmbarianShadowsRobe() );
							pm.AcceptGuildInvites = false;
            			}
And good old resign button :

Code:
case 2:
                    {
            			int x = 1;
						Container pack = pm.Backpack;
							if (pack != null)
								{
								if (pack.ConsumeTotal(typeof(UmbarianShadowsRobe), x))
						   			{	
						    			pm.SendMessage(68, "You have Resigned From The Umbarian Shadows Thief Guild.");
										pm.AcceptGuildInvites = true;
										pm.Umbarian = 0;
						    		}
Okay. Now I want to have another button called Roster. Where other players can view all the players in this guild. The players who are in the guild, must be listed on a gump in order of join date. So first player to join = at the top. and then it adds from then on.

Can you perhaps give me some pointers on how to accomplish this, my scripting abilities have improved a lot since I joined the community, but I have never dealt with a project like this before

Thanks for the help thus far m8

Regards
__________________
legendsofkaine.page.tl

Last edited by typhoonbot; 08-06-2008 at 03:01 PM. Reason: Spelling mistake
typhoonbot is offline   Reply With Quote