<onDeath>
-- <skill name="ROGUE_HIDE" hotkey="VK_F" priority="290" />
-- Additional Lua code to execute on death
-- yrest(500000); -- Wait 5 min
cprintf(cli.pink, "YOu where killed!!! \n")
RoMScript('SendChatMessage(SendChatMessage("Some Text", "SAY"\n')')
-- RoMScript('SendChatMessage("tell them things here !!...", "SAY", 0, \n')')
logInfo(pawn.Name,"Was killed by:", true);
yrest(12000)
RoMScript("AcceptResurrect();");
yrest(30000); -- for every 1000 millsec equals 1 sec so 6000 = 6 sec
keyboardPress(key.VK_F); -- need to setup Hide on key F, for mining
-- sendMacro("CastSpellByName(\"Hide\");");
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
</onDeath>
as u can see ive tryed different things ....and i would like it to say it to normal zone SAY not to the player and it would be nice if it saved a log of who killed me ..since mages can stay far away and kill me but the bot will not show it in log why you did the