Download
(43 Kb)
Download
Updated: 10-12-11 02:58 PM
Pictures
File Info
Updated:10-12-11 02:58 PM
Created:10-07-11 12:38 AM
Downloads:351
Favorites:0
MD5:
LibNotify
Version: 1.1.0
by: NerfedWar [More]
LibNotify provides an API to display/manage a stack of fading growl-like alerts and notifications.

Command-line Usage:
Code:
	/notify
		to display this help.

	/notify [colour] [message]
	/alert [colour] [message]
		[color]:
			[d]: default.
			[r]: red.
			[g]: green.
			[b]: blue.
		[message]: the message to display.
	
	e.g. /alert r Hello RIFT!
API Usage:

Code:
	LibNotify.notify(colour, message)
	LibNotify.alert(colour, message)
	
	e.g. /script LibNotify.alert(LibNotify.GREEN, 'Hello again RIFT!')
	
	where colour can equal: LibNotify.BLACK, LibNotify.RED,
 	LibNotify.GREEN, LibNotify.BLUE, and message is a string.
NerfedWar
http://www.nerfedwar.net
[email protected]

=== Embedding LibNotify ===

Ddd the following to your .toc file and place the LibNotify directory beneath your own adon directory.
(See the ChatAlert addon for a full example)
Code:
	Embed = {
		LibNotify = true,
	}

	Dependencies = {
		LibNotify = {"required", "before"},
	}
You can find an example addon called DeathAlert that embeds LibNotify on my website
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
0.0.1
42kB
NerfedWar
10-07-11 12:38 AM


There have been no comments posted to this file.
Be the first to add one.



Category Jump: