Beispiel #1
0
        private void SampleList_Selected(object sender, MVListSelectEventArgs e)
        {
            Host.Actions.SelectItem(Convert.ToInt32(PlayerList[e.Row][2][0]));
            NewFriendBox.Text = Host.Actions.CurrentSelection.ToString();

            if (FellowTarget == true && FellowLeader == true)
            {
                Host.Actions.InvokeChatParser("/f [Seek]: " + Host.Actions.CurrentSelection.ToString() + " [Name]: " + PlayerList[e.Row][1][0]);
                //Host.Actions.CastSpell(0x709, Host.Actions.CurrentSelection);
            }
        }
Beispiel #2
0
        static void lstTeleTownSearchList_Selected(object sender, MVListSelectEventArgs e)
        {
            try
            {
                String name = (String)lstTeleTownSearchList[e.Row][0][0];

                PluginCore.ChatCommand("teletown", name);
            }
            catch (Exception ex)
            {
                PluginCore.LogError(ex);
            }
        }
Beispiel #3
0
        static void lstSpawnModelSearchList_Selected(object sender, MVListSelectEventArgs e)
        {
            try
            {
                String id  = (String)lstSpawnModelSearchList[e.Row][0][0];
                String val = (String)lstSpawnModelSearchList[e.Row][1][0];

                PluginCore.ChatCommand("spawnmodel", id);
            }
            catch (Exception ex)
            {
                PluginCore.LogError(ex);
            }
        }