[Lua] Revive script. menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Daimyo2704's Avatar Member
    Reputation
    37
    Join Date
    Jan 2009
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua] Revive script.

    Code:
    local REV_MSG = "#revive"
    
    function Player2_OnChat(event, pPlayer, message, type, language)
        local LCM = message:lower()
        if (LCM == REV_MSG) then
        pPlayer:ResurrectPlayer()
        pPlayer:SetHealth(500)
        pPlayer:SetMana(500)
        end
    end
    
    RegisterServerHook(16, "Player2_OnChat")
    This is indeed scripted by me for my upcoming repack, a Winter Veil special.
    I've made it to set your health and mana to 500, because else you could just continue combat.

    Usage:
    /guild #revive

    thanks to P1raten

    [Lua] Revive script.
  2. #2
    defilier415's Avatar Corporal
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice it works perfectly thanks

Similar Threads

  1. [HELP] Lua boss script not working-solutions?
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 03-21-2008, 08:19 AM
  2. LUA Boss Script
    By Lindoz12 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 03-04-2008, 02:45 PM
  3. LUA Boss Script Help
    By neurothymia in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-05-2008, 02:57 PM
  4. Lua Boss Script Problems!!
    By blah7 in forum World of Warcraft Emulator Servers
    Replies: 14
    Last Post: 01-22-2008, 08:59 PM
  5. Lua Ascent Script Documentation
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 11-26-2007, 12:42 PM
All times are GMT -5. The time now is 05:52 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