[Question] Scripting menu

Shout-Out

User Tag List

Results 1 to 4 of 4
  1. #1
    Autumnbearbravehunter's Avatar Member
    Reputation
    3
    Join Date
    Jul 2007
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Scripting

    So, I've been wondering, and Wanting to do some scripting,
    I see scripts like this
    Code:
    function Arcane_Wizard_Casting(pUnit, event)
    if pUnit:GetHealthPct() < 99 then
    pUnit:FullCastSpellOnTarget(20692, pUnit:GetMainTank())
    pUnit:SendChatMessage(11,0,"I Will Not Be Defeated!!")
    end
    end
     
    function Arcane_Wizard_onCombat (pUnit, Event)
    pUnit:SendChatMessage(11, 0, "You Cant Run From My Fireballs!")
    pUnit:RegisterEvent("Arcane_Wizard_Casting",5000,0)
     
    end
     
    function Arcane_Wizard_onLeaveCombat(pUnit, Event)
    pUnit:RemoveAura(20692)
    pUnit:RemoveEvents()
    end
     
    function Arcane_Wizard_onDeath(pUnit, Event)
    pUnit:SendChatMessage(11,0,"You Have Not Won!")
    pUnit:RemoveAura(20692)
    pUnit:RemoveEvents()
    end
     
    RegisterUnitEvent (180030, 1, "Arcane_Wizard_onCombat")
    RegisterUnitEvent (180030, 2, "Arcane_Wizard_onLeaveCombat")
    RegisterUnitEvent (180030, 4, "Arcane_Wizard_onDeath")
    Anyways, Once you make a script, such as that, what do you do with it, Execute?

    [Question] Scripting
  2. #2
    damon160's Avatar Member
    Reputation
    8
    Join Date
    Oct 2007
    Posts
    105
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Open notepad put that in there save the file as whateveryouwant.lua

    Dont forget .lua

    then put the file inside your scripts folder

  3. #3
    Sonic Waffle's Avatar Contributor
    Reputation
    170
    Join Date
    Dec 2007
    Posts
    990
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Save it as a .lua file and put it in you're script folder which is in you're Ascent folder.
    Ahhh! Too late... >.<


  4. #4
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O sry should have added that to the post... incase some peopel didnt know

Similar Threads

  1. [Trinity] [Question][Script] Starting a Battleground Instance
    By DrakeFish in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 04-30-2011, 07:41 AM
  2. [QUESTION] Script bin
    By marcelo_20xx in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 09-26-2008, 11:34 PM
  3. Whats the money script question
    By Duplicity in forum World of Warcraft General
    Replies: 3
    Last Post: 09-30-2007, 07:30 PM
  4. Mac Scripting Question
    By Renek in forum World of Warcraft General
    Replies: 0
    Last Post: 06-27-2007, 02:53 PM
  5. quick mac script question
    By lars1414 in forum World of Warcraft General
    Replies: 0
    Last Post: 12-28-2006, 02:37 PM
All times are GMT -5. The time now is 11:41 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