[REQUEST]Change Guild from NPC Link

07/02/2011 23:31 mateo136#1
Hello, I've been trying for days but I have not been
What I want is to make a change Npc your current Guild by one of A Link


I thought it would be something like this

PHP Code:
#region GateMan
                
case 10010:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hi, what guild you want?");
                                    
dialog.Option("I want see."1);
                                    
dialog.Option("Helpp..."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    
dialog.Text("Please select the Guild If you want the best...");
                                    
dialog.Option("Abaddon"2);
                                    
dialog.Option("Eniolum ."3);
                                    
dialog.Option("I'm Scared."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
2:
                                {
              
                                    
client.Entity.GuildID 585;
                                    
client.Screen.Reload(null);
                                    
                                    
client.Send(new Message("Abaddon."System.Drawing.Color.GreenMessage.PopUP));
                                    break;


                                }
                            case 
3:
                                {
                                    
client.Entity.GuildID 586;
                                    
client.Screen.Reload(null);
                                    
client.Send(new Message("Eniolum."System.Drawing.Color.GreenMessage.PopUP));
                                    break;
                                }
                        }
                        break;
                    }

                
#endregion 
But unfortunately it doesn't work

Could give me a hand?

Thank you and sorry By my bad english :bandit:
07/12/2011 01:49 mateo136#2
help me please masters
07/12/2011 02:51 zTek#3
I think it would be something like:

Opion2("Name: ", 1);
}
case 1:
{
GuildName = "";
}

I really don't know if that will work but it's worth a try.
07/12/2011 19:32 mateo136#4
Quote:
Originally Posted by zTek View Post
I think it would be something like:

Opion2("Name: ", 1);
}
case 1:
{
GuildName = "";
}

I really don't know if that will work but it's worth a try.
eh it no work because the guild should exist before..