This plugin kills you then immediately pops you up right where you died. Great for deleveling.
Also another good use is for a ShadowKnight. They can write a macro that Dies, HTs, Dies, HTs, Dies, HTs until mob is dead. If the SK has 4th year of Veteran Reward can use Expedient Recovery to get all the Exp back.
Command:
/selfkill
MQ2Selfkill.cpp
Enjoy!!!
--ZippZipp
Also another good use is for a ShadowKnight. They can write a macro that Dies, HTs, Dies, HTs, Dies, HTs until mob is dead. If the SK has 4th year of Veteran Reward can use Expedient Recovery to get all the Exp back.
Command:
/selfkill
MQ2Selfkill.cpp
Rich (BB code):
///////////////////////////////////////////////////////
// MQ2SelfKill.cpp by Zippzipp //
// created: 18 December 2006 //
///////////////////////////////////////////////////////
#include "../MQ2Plugin.h"
PreSetup("MQ2SelfKill");
int selfkillflag = 0;
VOID SelfKill(PSPAWNINFO pChar, PCHAR szLine){
selfkillflag = 1;
DoCommand(pChar,"/zwarp 10");
DoCommand(GetCharInfo()->pSpawn,"/timed 5 /squelch /notify RespawnWnd RW_OptionsList listselect 2");
DoCommand(GetCharInfo()->pSpawn,"/timed 5 /squelch /notify RespawnWnd RW_SelectButton leftmouseup");
}
PLUGIN_API VOID InitializePlugin(VOID){
DebugSpewAlways("Initializing MQ2SelfKill");
AddCommand("/selfkill", SelfKill);
}
// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin(VOID){
DebugSpewAlways("Shutting down MQ2SelfKill");
RemoveCommand("/selfkill");
}
// This is called every time MQ pulses
PLUGIN_API VOID OnPulse(VOID){
if(selfkillflag == 1)
GetCharInfo()->CurrWeight = 10000;
selfkillflag = 0;
}
Enjoy!!!
--ZippZipp


(Besides, they get cleaned up here for free
)