Mall guard(script) menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    glurpie123321's Avatar Member
    Reputation
    12
    Join Date
    May 2008
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mall guard(script)

    Hello i was bored and made a little script for Mall Guards.
    it isin't a guard that attacks on pvp or something just simply casting spells at enemys.

    Code:
    function guard_OnCombat(Unit, Event)
    Unit:RegisterEvent("guard_Charge", 111, 1)
    Unit:RegisterEvent("guard_MortalStrike", 30000, 0)
    Unit:RegisterEvent("guard_Whirlwind", 40000, 0)
    end
    
    function guard_Charge(pUnit, Event) 
    pUnit:FullCastSpellOnTarget(22911, pUnit:GetMainTank()) 
    end
    
    function guard_MortalStrike(pUnit, Event) 
    pUnit:FullCastSpellOnTarget(16856, pUnit:GetMainTank()) 
    end
    
    function guard_Whirlwind(pUnit, Event) 
    pUnit:FullCastSpellOnTarget(15578, pUnit:GetMainTank()) 
    end
    
    function guard_OnLeaveCombat(Unit, Event) 
    Unit:RemoveEvents() 
    end
    
    function guard_OnDied(Unit, Event) 
    Unit:RemoveEvents()
    end
    
    function guard_OnKilledTarget(Unit, Event) 
    Unit:SendChatMessage(11, 0, "Stay out of This mall!") 
    end
    
    RegisterUnitEvent(npc id, 1, "guard_OnCombat")
    RegisterUnitEvent(npc id, 2, "guard_OnLeaveCombat")
    RegisterUnitEvent(npc id, 3, "guard_OnKilledTarget")
    RegisterUnitEvent(npc id, 4, "guard_OnDied")


    Change the things in red to
    Guard = change to your guards name
    Npc Id = change to your Guards Entry I


    Save this as a lua file in ure ascent scripts folder and it should work!
    enjoy :wave:
    Last edited by glurpie123321; 06-03-2008 at 03:35 PM. Reason: :)

    Mall guard(script)
  2. #2
    cedsson's Avatar Member
    Reputation
    3
    Join Date
    May 2008
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for the lua file

  3. #3
    Neth'zul's Avatar Banned
    Reputation
    204
    Join Date
    Nov 2007
    Posts
    887
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, if this works I love you! +rep

  4. #4
    Rain_BoY's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    where i must put it? :S

  5. #5
    Jackie Moon's Avatar Elite User
    Reputation
    407
    Join Date
    May 2008
    Posts
    923
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Rain_BoY View Post
    where i must put it? :S
    Im Skeetzorz btw my noob m8 changed my name lol

    You execute it into your MySQL or HeidiSQL just open them and click "execute batch file"
    Check out my YouTube: SkeetzGaming

Similar Threads

  1. Mall Guard NO C++ and NO LUA
    By jackthripper in forum WoW EMU Guides & Tutorials
    Replies: 11
    Last Post: 10-10-2009, 09:58 AM
  2. Anti-PvP Guard script help
    By gimmeurlife in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 06-16-2009, 12:32 AM
  3. [Release] Mall Guard!! - Included LUA+SQL
    By FinnZor in forum WoW EMU General Releases
    Replies: 41
    Last Post: 10-11-2008, 05:12 AM
  4. [Guide] Custom Mall Guards
    By Cursed in forum WoW EMU Guides & Tutorials
    Replies: 23
    Last Post: 04-08-2008, 01:14 PM
  5. Need a Guard script
    By Summer in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 03-13-2008, 07:30 PM
All times are GMT -5. The time now is 06:45 AM. 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