[Release-Lua] Revive Tool menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Trle94's Avatar Contributor
    Reputation
    167
    Join Date
    May 2009
    Posts
    329
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release-Lua] Revive Tool

    THis script allow you to revive yourself with and item.
    Here is script:
    Code:
    ---Coded by Lunar SCR Team---
    --Our forum lunar-scr.info--
    local itemid = ITEMID
    function LunarSCR_Item_Trigger(item, event, player)
    Item_menu(item, player)
    end
    function LunarSCR_Item_menu(item, player)
    if (player:IsInCombat() == true) then
    player:SendAreaTriggerMessage("You are in combat!")
    else
    item:GossipCreateMenu(100, player, 0)
    
    item:GossipMenuAddItem(4, "Revive Me",1, 0)
    item:GossipSendMenu(player)
    end
    
    
    if (intid == 1) then
    player:FullCastSpellOnTarget(50768, player)
    end
    end
    
    RegisterItemGossipEvent(ITEMID, 1,"LunarSCR_Item_Trigger")
    RegisterItemGossipEvent(ITEMID, 2,"LunarSCR_Item_menu")
    Change ITEMID and then add in scripts and restart server...


    [Release-Lua] Revive Tool
  2. #2
    malulululu's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can´t use ItemMenu. You don´t use it.

    ---Coded by Lunar SCR Team---
    --Our forum lunar-scr.info--
    local itemid = ITEMID
    function LunarSCR_Item_Trigger(item, event, player)
    Item_menu(item, player)
    end
    function LunarSCR_Item_menu(item, player)
    if (player:IsInCombat() == true) then
    player:SendAreaTriggerMessage("You are in combat!")
    else
    item:GossipCreateMenu(100, player, 0)

    item:GossipMenuAddItem(4, "Revive Me",1, 0)
    item:GossipSendMenu(player)
    end


    if (intid == 1) then
    player:FullCastSpellOnTarget(50768, player)
    end
    end

    RegisterItemGossipEvent(ITEMID, 1,"LunarSCR_Item_Trigger")
    RegisterItemGossipEvent(ITEMID, 2,"LunarSCR_Item_menu")
    Use This:

    local itemid = ITEMID

    function LunarSCR_Item_menu(item, player)
    if (player:IsInCombat() == true) then
    player:SendAreaTriggerMessage("You are in combat!")
    else
    item:GossipCreateMenu(100, player, 0)

    item:GossipMenuAddItem(4, "Revive Me",1, 0)
    item:GossipSendMenu(player)
    end

    LunarSCR_Item_select (Item,Event,Player,intid,id,code)

    if (intid == 1) then
    player:FullCastSpellOnTarget(50768, player)
    end
    end

    RegisterItemGossipEvent(ITEMID, 1,"LunarSCR_Item_menu")
    RegisterItemGossipEvent(ITEMID, 2,"LunarSCR_Item_select")

  3. #3
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +rep
    me likey

    Edit: need to spread D:
    Last edited by sasoritail; 11-13-2009 at 10:00 AM.
    It's been a while

  4. #4
    World of Borat's Avatar Member
    Reputation
    28
    Join Date
    Dec 2008
    Posts
    89
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    RegisterItemGossipEvent dosn't work for ArcEmu

  5. #5
    AzolexX's Avatar Contributor
    Reputation
    179
    Join Date
    May 2007
    Posts
    587
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It does. !

    Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!

  6. #6
    World of Borat's Avatar Member
    Reputation
    28
    Join Date
    Dec 2008
    Posts
    89
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Huh? ArcEmu gives me an Error.

  7. #7
    mell1ej's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tnx for this

  8. #8
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a fail.

    You cannot use items while dead.

Similar Threads

  1. [Release] A Few LUA Ingame Tools
    By project anthrax in forum WoW EMU General Releases
    Replies: 0
    Last Post: 11-14-2009, 10:30 AM
  2. [RELEASE] GameMaster's Tool Box
    By EmiloZ in forum WoW EMU Programs
    Replies: 47
    Last Post: 06-13-2008, 05:01 AM
  3. [Share/Release] Lua Portal
    By ~ViVo~ in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 03-16-2008, 10:40 AM
  4. [Release] Amazing Reputation Tool [Download]
    By King Shaun in forum Community Chat
    Replies: 5
    Last Post: 02-14-2008, 04:56 AM
  5. [RELEASE] LUA Bossfight
    By Shao111 in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 01-23-2008, 03:03 PM
All times are GMT -5. The time now is 12:11 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search