public void MyOpenChatWindow(object sender, KnuBotEventArgs e) { this.lastaction = 0; if (this.TalkingTo != null) { this.TalkingTo = e.Sender; } this.Action(0); }
public void MyAcceptTrade(object sender, KnuBotEventArgs e) { foreach (AOItem item in this.TradedItems) { // Spawn back our items with max QL this.SpawnItem(item.LowID, item.HighID, 500); this.AppendText("Spawned back with max ql: " + item.LowID + "/" + item.HighID); } this.TradedItems.Clear(); this.CloseChat(); }
public void MyStartTrade(object sender, KnuBotEventArgs e) { ZoneEngine.PacketHandlers.KnuBotStartTrade.Send( this.TalkingTo.Client, this.Parent, "Wanna trade? Go ahead.", 4); }
public void MyDeclineTrade(object sender, KnuBotEventArgs e) { this.KnuBotNextAction(1, 1000); }
public void MyCloseChatWindow(object sender, KnuBotEventArgs e) { this.Parent.PurgeTimer(20000); }