finkles-installer
Finkles-Installer
...The whole World of Packages for World of Warcraft
home | browse | search | contact | create | submit | about | register | download installer(2.91) Jan.07.2009 - 11:54:37
Quick Say PartyRaid Loot Rules
Author:Lone

-- Table of Contents
- Title
- Installing
- In Game Commands
- A useful macro
- Adding, removing, changing rules
- Credits


-- Title
Loot Rules 1.0.0
By: Lone (Tauren Shaman) of Kel'Thuzad WoW Server

Simple mod that allows you to setup a macro for your party/raid looting rules.
Party rules and raid rules are seprate, as some people might have different rules for both party play and raid play.

This is my first mod, therefore might not be the most efficent thing, but it works and it works quite well if you ask me.
I dont exactly plan on improving this mod as I found I dont really care for LUA scripting. Feel free to build on my idea.
I built this mod simply because of the 255 character limit on the macro screen. Got tired of typing out loot rules all the time.

Hope you enjoy!

-- Installing
Place the LootRules folder into your Interface/Addons/ directory.
Open lootrules.lua in notepad (or any text editor). Review the rules you wish to use. By default there are 6 rules.
You made add more, it is quite simple to do so.

-- In Game Commands
The follow are commands that can be used in game.

PARTY RULES
/partyrules
/partylootrules
/plr

RAID RULES
/raidrules
/raidlootrules
/rlr

Why three commands? I dunno, I felt like it.

-- A simple useful macro
In chat, do /macro to bring up the macro screen.
Make a new macro, add this as the body (the big blank space)

/script if(GetNumRaidMembers()> 0) then lootrules_DispRaidRules(); elseif(GetNumPartyMembers()> 0) then lootrules_DispPartyRules(); else DEFAULT_CHAT_FRAME:AddMessage("You are not in a party or raid group."); end;

Yes all one line. What it does is checks if you are in a raid, if that is true, it will say your raid rules,
If you are in a party only, it will say your party rules instead. Very simple macro if you ask me :).

-- Adding, removing, changing rules
If I wanted to add a 7th rule to my party rules this is what I would do.

FIND

local rulePartySix ="6. Lets have some fun guys! No\"ninja looting\" please! Thanks."

ADD BELOW

local rulePartySeven ="7. I have just added a seventh rule to my party rules list!"

THEN FIND

-- Add any more party rules you want below this line, follow the lines above!

ADD BELOW

SendChatMessage( rulePartySeven ,"PARTY" ); -- a seventh rule I just added, notice how rulePartySeven is the same!

SAVE AND CLOSE lootrules.lua

Changing rules should be pretty self explantory, along with removing them. You can do the same thing for raid rules, just be
sure to use the word"Raid" in place of"Party" when adding new rules.

-- CREDITS
http://www.wowwiki.com/- For reference on how to do a lot of this mod's functions
Itchyban (Gnome Mage) of Bloodhoof WoW Server - giving me a idea how to detect if player is in raid/party groups on WoW UI Forums.
My Guildmates, for helping me test this out and spotting a few errors


  • Development Status: stable
  • Added: 2006-02-01 00:30:12
  • Version: 1.0.0

  •  Rate this Package:
    1 2 3 4 5 6 7 8 9 10


    No Screenshots available.


    User Login
    Username:

    Password:


    Remember me?

    Misc Info
    Last installed package:
    ACUI QuickCash 2.2
    ( 02:02:32 hours ago)




    xml+rss
    Subscribe to
    Releases News-Feed

    Latest Releases
    Wednesday(0 Releases)
    Tuesday(0 Releases)
    Monday(0 Releases)
    Sunday(0 Releases)
    Saturday(0 Releases)
    Friday(0 Releases)


    © Copyright 2006 VP Voyager Project.org, All Rights Reserved.
    absolut-rank.de - PageRank-Anzeige ohne Toolbar. Seocharts - PageRank-Anzeige ohne Toolbar. ::: www.sind-sie-bereit.de ::: PRagent - Pagerank-Servicecenter