View Single Post
10-13-09, 01:47 PM   #79
Jooze
A Wyrmkin Dreamwalker
 
Jooze's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jul 2007
Posts: 52
Just a bit of code i want to share. Use this in a text element and it will display when you have new mail.

Code:
string = function()
local hasMail = HasNewMail()
local MailText
if (hasMail == 1) then
MailText = format("%s", "New Mail!")
else
MailText = format("%s", "No Mail")
end
return MailText
end,
  Reply With Quote