Hello, I am not sure to understand what you want but:
robotManager.Events.FiniteStateMachineEvents.OnRunState +=
delegate(robotManager.FiniteStateMachine.Engine engine, robotManager.FiniteStateMachine.State state, System.ComponentModel.CancelEventArgs cancelable)
{
if (state is wManager.Wow.Bot.States.StopBotIf && state.DisplayName == "Security/Stop game")
{
// sample to disable tp detection:
wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = false;
wManager.Wow.Bot.States.StopBotIf.ForcePvpMode = true;
wManager.Wow.Bot.States.StopBotIf.LastPos = wManager.Wow.ObjectManager.ObjectManager.Me.Position;
// how to wrobot check if your char is tp:
if (wManager.Wow.Bot.States.StopBotIf.LastPos != null &&
wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAlive &&
wManager.Wow.ObjectManager.ObjectManager.Me.Position.DistanceTo(wManager.Wow.Bot.States.StopBotIf.LastPos) >= 450)
{
// close bot...
}
}
};