View Single Post
09-18-08, 12:38 PM   #1
saffire
A Murloc Raider
Join Date: Sep 2007
Posts: 4
Looking for the a point in the right direction...

Very green to LUA but I am an experienced C# programmer.

I have a webapp that generates this LUA file. Which is just a big lua table with nested tables.

(If this isnt correct syntax for the table and your willing to take the time to point out whats wrong any help is appreciated)

http://www.croatoanstudios.com/lua/WowStorianDB.txt

I want to build an addon so that I can do two things......

Destination could be declared as local or officer, if it is local it just displays it locally in your chat window, if it’s officer it displays it to officer chat.

Code:
/wowstorian datareport <destination>
It would spit out the following information regarding the currently loaded data:

Code:
Line1:    Wowstorian Report Generated (<ReportGenerated>)
Line2:    Reporting on <EventTypeReportedOn>
Line3:    For Date Range: <StartDate> through <EndDate>
Code:
/wowstorian playerreport <playername> <destination>
It would print the following lines to the specified destination.

Code:
Line1:   Player Name: Saffire
Line2:    Attendance :  90%
Line3:    No Shows :  5%
Line4:    Signups: 100%
Line5:    Item’s Received: 15
Line6:  Last 5 Items Received: <Item Link> (Date), <Item Link> (Date), <Item Link> (Date), <Item Link> (Date), <Item Link> (Date)

I havent been able to find any examples or tutorials that were simply but on topic enough to help me design this myself. So I am looking for a pointer in the right direction about how to do this or someone who's willing to work with me and help me build what I want.
  Reply With Quote