Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
local c = {re="\124cFFFF0000", fr="\124cFF00FF00"} C_Calendar.OpenCalendar() local dmf = false local date = C_DateAndTime.GetCurrentCalendarTime() local numEvents = C_Calendar.GetNumDayEvents(0, date.monthDay) for i=1,numEvents do local event = C_Calendar.GetDayEvent(0,date.monthDay,i) if event ~= nil then if event.eventID == 479 then dmf = true break end end end local myPrint = nil local this = 71634 local have = GetItemCount(this,true) local _, link, _, _, _, _, _, _, _, icon, _, _, _, _, _, _, _, _ = C_Item.GetItemInfo(this) --left 'icon' in case you add the ability to get icon from trigger if have == 1 then myPrint = c.fr.."Have "..link else if dmf then myPrint = c.re.."Get "..link else myPrint = c.re.."DMF is not open" end end if myPrint then return myPrint end
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)