Addon Info.
Optional Files (0)
Comments (2)
  Category: Developer Utilities
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Itsnoteasy's Portal Bug Reports Feature Requests
Author:
Version:
1.0-0
Date:
02-20-2007 07:56 AM
Size:
72.67 Kb
Downloads:
643
Favorites:
2
MD5:
Pictures
Click to enlarge
Its' Eval
Eval was the first AddOn I ever wrote (back for WoW 1.2), when I got fed up of having to wrap
DEFAULT_CHAT_FRAME:AddMessage(tostring( ... ))
Around something every time I typed it into the /script command.

Eval, on the simplest level, allows you to enter any Lua expression, which it will then execute and display the result in the chat log. It also recognises most Lua statements and will execute them, as well as telling you what a variable's value is when you assign to it.

Finally, it can also print out tables in a fairly sane manner. By default, it will print up to 10 items and 3 levels deep, although you can change this by fiddling with the AddOn's database (see below).

Eval has only a single slash command:
/eval (lua code)
That's it. If you want to change how it prints out tables, just play with these variables:
Eval.db.profile.maxTableDepth = 3
Eval.db.profile.maxTableItems = 10
Eval.db.profile.displayAllKeys = true
  Optional Files - Its' Eval
Sorry, there are currently no optional files available.
  Comments - Its' Eval
Post A Reply
Author Comments Comment Options
Old 02-28-2007, 08:15 AM  
Itsnoteasy
A Murloc Raider
 
Itsnoteasy's Avatar
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 23
Uploads: 7
Quote:
Originally posted by Arrowmaster
AceConsole-2.0 already has a /print command to do exactly this.
Not quite. /print does print out expressions, but it can't handle statements. Also, it attempts to print out tables in full, which doesn't really help if you've got a big table.

Finally, I think mine looks prettier :P

But thanks for that; never even knew /print was there.
Itsnoteasy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-24-2007, 04:58 AM  
Arrowmaster
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
AceConsole-2.0 already has a /print command to do exactly this.
Arrowmaster is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:



The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOUI | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


MMOInterface.com Copyright ©2008
World of Warcraft is a registered Trademark of Blizzard Entertainment.
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.