Jump to content
Sign in to follow this  
Krazyito

Weak Auras - Ask here for help! Read first post: Discord channel

Recommended Posts

Hello

Have anyone WA  for Resolve like addon infResolve?(http://www.wowinterface.com/downloads/info23149-infResolve.html)

Always need turn off the addon when play in heal spec, and turn on  - when tank. Addon is good but it's a little bit inconvenient if you play in 2 different spec

http://pastebin.com/C24vi9YU

That's what I use, although you may have to adjust the load settings to your class.  You should be able to clear the class and spec requirements and it will work fine, only showing up if you have a resolve "buff" so to speak.  Note, this was made by sunnier, not me.

 

 

it is not possible.

Which aura are you saying isn't possible?  If it's the Resolve one, then you're wrong as it clearly is, as shown by the WA in this post.  If not, you may want to clarify which one you are talking about.
  • Like 1

Share this post


Link to post
Share on other sites

it is not possible.

 

in general, anything an addon can do, Weak auras can as well.  Most of the time its more efficient in its own seperate addon though. Weak auras just makes custom coding as a shortcut.

Share this post


Link to post
Share on other sites

Thanks

 

And one more question: how to delay the disappearance of the text on the screen?

For example, WA for Gorefiend's Grasp http://pastebin.com/uSRzMTWMsay who gripped in chat and top of the screen. Text on the screen disappear after 3-4 second. Need delay that this text will shown about 15 second(actually need it for another WA, Gorefiend's grasp only for example)

Share this post


Link to post
Share on other sites

Thanks

 

And one more question: how to delay the disappearance of the text on the screen?

For example, WA for Gorefiend's Grasp http://pastebin.com/uSRzMTWMsay who gripped in chat and top of the screen. Text on the screen disappear after 3-4 second. Need delay that this text will shown about 15 second(actually need it for another WA, Gorefiend's grasp only for example)

 

pOoO8Ea.png

  • Like 1

Share this post


Link to post
Share on other sites

How to coloring name in this

Have this 

aura_env.setClassColor = function(name) -- local function to determine the player class and color it
    local class = select(2, UnitClass(name))
    
    local colorText = RAID_CLASS_COLORS[class] and RAID_CLASS_COLORS[class].colorStr or "ffbbbbbb"
    name = "|c"..colorText..name.."|r"
    
    return name
    
end

but don't understand, why it doesn't work. Maybe it doesn't work because variable "name" presents in Trigger and in Actions?

Share this post


Link to post
Share on other sites

How to coloring name in this

Have this

aura_env.setClassColor = function(name) -- local function to determine the player class and color it
    local class = select(2, UnitClass(name))
    
    local colorText = RAID_CLASS_COLORS[class] and RAID_CLASS_COLORS[class].colorStr or "ffbbbbbb"
    name = "|c"..colorText..name.."|r"
    
    return name
    
end

but don't understand, why it doesn't work. Maybe it doesn't work because variable "name" presents in Trigger and in Actions?
No, "name" should be local to the function.

Currently on mobile, but viewing the code in the pastebin you linked, are you even using the function? The code you linked is a custom function that is not part of the API. (pretty sure I wrote it)

Also you should use REALLY use local variable (by putting local in front of the variable.)

If you want to use global variables you should use aura_env so you don't mess with other addons or auras.

  • Like 1

Share this post


Link to post
Share on other sites

Here, I fixed your code for you: http://pastebin.com/2PPbQGiQ
 
I added the code snippet that you quoted that you couldn't get to work to Actions -> Init.
 
The parts I highlight in red are the changes I made to your code.

 

Custom Trigger:
 

function(event, timestamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellID, spellName, spellSchool)
   
if event == "SPELL_CAST_SUCCESS" and spellID == 187612 then
        aura_env.name = aura_env.setClassColor(sourceName)
        return true
    end
end

 

Custom Name:

 


function()
    return aura_env.name

end

 

Your previous 'name' variable was global so literally any aura/addon that is miscoded using a global 'name' would interfere with each other.

 

aura_env is a workaround to 'global variables' because it is local to the aura itself.  Usually if an aura is local you would write the keyword 'local' in front, otherwise its global.

Share this post


Link to post
Share on other sites

Was able to fix it, here's the Gathering Vortex+Lightning Shield, Elemental Shaman WeakAura.

 

 

diKLgaGis6suu0OqrNIeEfIKMffzxuu1WqbhtkTmeXZqu00uvQSnkknoHkRtvPQ5Hir3tLs7Je5GcLwicUiIQ(ifvgPQsPtku0krAMQu5MQkf7uvXpvvYqruYsruQNQyQs0vrH2kIkFLIcNfrcZfrk7f6VsyWIoSkwSkv9yjnzkCzQ2mk9zHmAvYPr1RfkmBP62QQ2Ts)wWWLILtPNRktN46KA7Qu8DHQgpjQZJqRhrH5Jiv7hm2IL48JJbogyjov9tc)LUYcoafO4OxXYJIClwItv)KW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IeWrI3xHil)ghjGJeVVcrKaonhRqejGckOGJb)10peh5uJXdhZSIJ1J4HTKyJJdVgwC4lxkQH)MUlUb(PfhL)IL95c(PnogW5ufEyFyjoS8L)UWsCmcfr9q8494e1dXxWAp)ooMHFIrSA7599M7lij)Gck4Cmm4cpSNEHy5rrU9HLOGd3ahZ9fKKFWjEUHCHFIJbCw9FPLhf52h(PfhIFXY(Cb)0ghd4yWFn9dXywdloXCf3YEQoPfZAyFK2049EXNJOTEbJR17(k8nAKG9hfCE4qI5BnpdMV1S4Cd(P97iPffeb

(btw thanks to Eckter (french player) for his help!)

Edited by Satron

Share this post


Link to post
Share on other sites

Sorry if this request has already been answered; I've been searching various sites for a weakaura I seen in an Archimonde kill video for Shackled Torment. Serafim1991 actually posted a screenshot of it earlier in this thread as well (page 13). Essentially, the weakaura displays the 3 targets of Shackled Torment, followed by some numbers (which I assume to be range from the soul or other players, I'm unsure), and then lists the number of people who need to move out and displays their name if there is under (I think) 5 players. When all targets are out of range and it's safe to break, it displays the text: GJ TEAM!

Any help in finding this or a means to recreate it would be much appreciated. The search for it has been exhausting! Here is a link to the video if it helps at all: https://www.youtube.com/watch?v=lPQknsH9sdQ&feature=youtu.be&t=177

Share this post


Link to post
Share on other sites
Message: [string "return function()..."]:13: attempt to compare number with nil

Time: 01/05/16 13:34:02

Count: 9689

Stack: [C]: ?

[string "return function()..."]:13: in function `triggerFunc'

Interface\AddOns\WeakAuras\GenericTrigger.lua:302: in function `ScanEvents'

Interface\AddOns\WeakAuras\GenericTrigger.lua:618: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:616>

Locals:

 

I'm having this error and i can't figure out why/where...

Share this post


Link to post
Share on other sites

Sorry if this request has already been answered; I've been searching various sites for a weakaura I seen in an Archimonde kill video for Shackled Torment. Serafim1991 actually posted a screenshot of it earlier in this thread as well (page 13). Essentially, the weakaura displays the 3 targets of Shackled Torment, followed by some numbers (which I assume to be range from the soul or other players, I'm unsure), and then lists the number of people who need to move out and displays their name if there is under (I think) 5 players. When all targets are out of range and it's safe to break, it displays the text: GJ TEAM!

Any help in finding this or a means to recreate it would be much appreciated. The search for it has been exhausting! Here is a link to the video if it helps at all: https://www.youtube.com/watch?v=lPQknsH9sdQ&feature=youtu.be&t=177

 

I can probably replicate this, but TBH ERT does it so well I don't really see a reason to re-invent the wheel. Send me a PM and I can work on it if you really want it.

 

 

 

Message: [string "return function()..."]:13: attempt to compare number with nil

Time: 01/05/16 13:34:02

Count: 9689

Stack: [C]: ?

[string "return function()..."]:13: in function `triggerFunc'

Interface\AddOns\WeakAuras\GenericTrigger.lua:302: in function `ScanEvents'

Interface\AddOns\WeakAuras\GenericTrigger.lua:618: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:616>

Locals:

 

I'm having this error and i can't figure out why/where...

 

 

With out seeing the actual code, at line 13 there is some comparison code (usually an if statement or something) that is trying to compare nil with a number. To fix it, you either need to ignore nil or make the nil a 0. But with out seeing the code, I don't know what its trying to do.

Share this post


Link to post
Share on other sites

The problem is that i don't know which WA is the problem, i got none called "Generic Function"... I'll have a look at all the recent one...

Share this post


Link to post
Share on other sites

So there's only 2 custom trigger i've, for the legendary ring (and it's 5lines long) and the one i linked before (line 13 = "end")...

 

Also Auctionnator is giving me LUA error.

Edited by Satron

Share this post


Link to post
Share on other sites

At the risk of sounding stupid (too late) I have been having trouble as a Frost DK my dps in WoD has suffered from the fact that I frequently find myself starting my attacks outside a bosses hit box is there a weak aura that would help me visually rather than just using a distance meter.

Share this post


Link to post
Share on other sites

At the risk of sounding stupid (too late) I have been having trouble as a Frost DK my dps in WoD has suffered from the fact that I frequently find myself starting my attacks outside a bosses hit box is there a weak aura that would help me visually rather than just using a distance meter.

 

make an aura for any melee spell, and trigger -> Action Usable, Inverse. It will show up when you're not able to use that melee range spell. (which for the most part will also be all your other spells

Share this post


Link to post
Share on other sites

Ok so it comes from this WA but i dont know why :

 

dmeYhaGir1LqufJIqDkI4vejzweYUub1WebhtKwgsYZisPPrKGTPcY4u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BSXgBSXgBSXgBSXgBSXgBSXgBSXgBSXgBSXgBSXgBSXgBSXgBSXgBSXmAOjIcLSq4)YiI4gAcg9V1X2X7ENXlJstibgP7LeBhm6QJcJwsSDqWOKI0ht(sI0LLuKuktI0rDcmstSz6wfSagnE3XrzK(N(glJ0eB2)whBhV7DgVSag9V1X2X7ENXBw5FR3Ouze59jJgAIOqj7vrVmkuuwAoy07QoFdMShtGrZYLM)yKMyZ6LeBLjhJI7C7G)yef9mu8hhCWiI)DWFmIq1NZLjlLdgvVJL)yef9mu8hhCWiALSSAONHq(Jru0ZqXFCWbJ0eBM0u6LjhJ0eB2yEjiybmstSze)7GfWOX8sqWFmIq1NZLriP4Xj9XKXbJ0eB2OqHC3GfWOAzU8hJOONHI)4GdgrOKML)yef9mu8hJKN7dkYnxwaJKl1qiLBZcyuSnlGrbP2oekRiXYcyuqQTdHSag9FRHqwahCWbJOve)ZRquChhLGrKNbJQ7PQ0Fc)xgPgLMrQwfzJcL)5glntwkJEGKYYeBWKL(ycm6ocvPj4pgjRAfXl)Xi6s25SqkMCm6CwivMC9szzKuU3JESUEji)hGKgscIdoy0LMwfQsFNzrvDEUvc(JdgPOz0biPHKGyePu0Xlt2JjWOwt5RQop3kbtwkJesszzInyYsFmbgrRi(NxHhzuAgDKo2Q8DSs9rgLMqQr)7CMr2n01nlXUUZTdvFIIsLchmIGruD40dNWHtpeJibtwQuGQuoyga

 

And it adds this if Auctionnator is activated :

 

Locals: msg = " [string "return function()..."]:13: attempt to compare number with nil"
funcnames = <table> {
1 = "triggerFunc"
2 = "ScanEvents"
}
funcstr = "triggerFunc > ScanEvents"
looksLikeAuctionatorError = false
inAtrErrorHandler = true
origErrorHandler = <function> defined Interface\FrameXML\BasicControls.xml:<Scripts>:4
zc = <table> {
msg_anm = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:624
msg = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:724
GetArrayElemOrFirst = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:161
NumToBool = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:549
StringStartsWith = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:917
StringSame = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:861
padstring = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:191
GetArrayElemOrNil = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:176
BoolToNum = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:539
periodic = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:368
pluralizeIf = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:570
msg_pink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:596
SetTextIf = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:47
HSV2RGB = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:639
LinkFromItemID = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:492
IsBattlePetLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:434
printableLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1030
PrintTable = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:398
PrintKeysSorted = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:121
Negate = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:559
IsTextQuoted = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:941
CopyDeep = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1009
UTF8_Truncate = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:139
val2gsc = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:774
words = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:297
tableIsEmpty = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:386
Max = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:95
printstack = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1054
pluralize = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:581
RawItemIDfromLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:462
EnableDisable = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:25
TrimBrackets = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:980
ParseBattlePetLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:442
ShowHide = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:36
QuoteString = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:948
round = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:589
StringEndsWith = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:897
priceToMoneyString = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:828
tallyPrint = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1145
msg_yellow = <function> defined

Edited by Satron

Share this post


Link to post
Share on other sites

Ok so it comes from this WA but i dont know why :

 

dmeYhaGir1LqufJIqDkI4vejzweYUub1WebhtKwgsYZisPPrKGTPcY4uf6CePQ1HOQAEiQs3tv0(qsDqvOwibUOiIpQcyKej0jvHyLqntePUPisTteLFIiAOIizPePYtHmvvLRkcTvvG(krIolIQYCjsQ9I6VIYGbhwLwmIkpwHjJuxwPntuFwfnAvPttYRvH0Sv0TrIDl1VLy4QQwUKEoctx46KA7icFhrY4vfCEcA9ePy(IO2p1Ck)XikmIMr08hJgAIOq5BFiyKXgZiDhv155w5pgn0erHcJK19iuLwSeJnyWGH6g6ABiQ614TPn2yJnMdgfv155w5pgfc)xgn0erHcJgAIOqHrY6EeQslwIXgmyWGs2qITkeOLLfN)pVc3AUOCsRoFJw1NgqVQDsNlXydgmyiE32ydgmyWGbdgMLXDAituMOmrJIUJudpnKyRcbAzzX5)ZRWTMlYqoPvNVrR6tdOx1oPZLySbdgmyWGbdZY4onKjktuMOrr3bvgEAiXwfc0YYIZ)NxHBnxu(bUX7wv9PHdwQX(qUeJnyWGbdgmyywg3PHmrzIYeLjkteTUMA4PHeBviqlllo)FEfU1Cr5KwD(gTQpnCWsn2hY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Pj4pgjRAfXl)Xi6s25SqkMCm6CwivMC9szzKuU3JESUEji)hGKgscIdoy0LMwfQsFNzrvDEUvc(JdgPOz0biPHKGyePu0Xlt2JjWOwt5RQop3kbtwkJesszzInyYsFmbgrRi(NxHhzuAgDKo2Q8DSs9rgLMqQr)7CMr2n01nlXUUZTdvFIIsLchmIGruD40dNWHtpeJibtwQuGQuoyga

 

And it adds this if Auctionnator is activated :

 

Locals: msg = " [string "return function()..."]:13: attempt to compare number with nil"

funcnames = <table> {

1 = "triggerFunc"

2 = "ScanEvents"

}

funcstr = "triggerFunc > ScanEvents"

looksLikeAuctionatorError = false

inAtrErrorHandler = true

origErrorHandler = <function> defined Interface\FrameXML\BasicControls.xml:<Scripts>:4

zc = <table> {

msg_anm = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:624

msg = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:724

GetArrayElemOrFirst = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:161

NumToBool = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:549

StringStartsWith = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:917

StringSame = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:861

padstring = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:191

GetArrayElemOrNil = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:176

BoolToNum = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:539

periodic = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:368

pluralizeIf = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:570

msg_pink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:596

SetTextIf = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:47

HSV2RGB = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:639

LinkFromItemID = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:492

IsBattlePetLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:434

printableLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1030

PrintTable = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:398

PrintKeysSorted = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:121

Negate = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:559

IsTextQuoted = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:941

CopyDeep = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1009

UTF8_Truncate = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:139

val2gsc = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:774

words = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:297

tableIsEmpty = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:386

Max = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:95

printstack = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1054

pluralize = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:581

RawItemIDfromLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:462

EnableDisable = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:25

TrimBrackets = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:980

ParseBattlePetLink = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:442

ShowHide = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:36

QuoteString = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:948

round = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:589

StringEndsWith = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:897

priceToMoneyString = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:828

tallyPrint = <function> defined @Interface\AddOns\Auctionator\zcUtils.lua:1145

msg_yellow = <function> defined

 

 

Add this line in the custom trigger

Mm5YjBj.png

 

if dur1==nil then dur1=0 end

Share this post


Link to post
Share on other sites

This seems to work, thanks!

 

Edit : It doesn't trigger when count1+count2>23...

function()
    if UnitBuff("player","Lightning Shield")
    then
        local _,_,_,count1 = UnitBuff("player", "Lightning Shield")
        local _,_,_,count2 = UnitBuff("player","Gathering Vortex")
        local _,_,_,_,_,dur1 = UnitBuff("player","Lightning Vortex")
        if dur1==nil then dur1=0 end
        if count1==nil then count1=0 end
        if count2==nil then count2=0 end
        if UnitBuff("player","Ascendance") and dur1<=9
        then return (count1>18 or count1+count2>23)
        elseif UnitBuff("player","Ascendance") and dur1>9
        then return (count1>18)       
        elseif dur1>9
        then return(count1>16)
        else
            return (count1>16 or count1+count2>23)
        end
    end
end


 

Edited by Satron

Share this post


Link to post
Share on other sites

Sorry if this request has already been answered; I've been searching various sites for a weakaura I seen in an Archimonde kill video for Shackled Torment. Serafim1991 actually posted a screenshot of it earlier in this thread as well (page 13). Essentially, the weakaura displays the 3 targets of Shackled Torment, followed by some numbers (which I assume to be range from the soul or other players, I'm unsure), and then lists the number of people who need to move out and displays their name if there is under (I think) 5 players. When all targets are out of range and it's safe to break, it displays the text: GJ TEAM!

Any help in finding this or a means to recreate it would be much appreciated. The search for it has been exhausting! Here is a link to the video if it helps at all: https://www.youtube.com/watch?v=lPQknsH9sdQ&feature=youtu.be&t=177

 

 

I made this: http://pastebin.com/cvx5h8ec

Share this post


Link to post
Share on other sites

This seems to work, thanks!

 

Edit : It doesn't trigger when count1+count2>23...

function()
    if UnitBuff("player","Lightning Shield")
    then
        local _,_,_,count1 = UnitBuff("player", "Lightning Shield")
        local _,_,_,count2 = UnitBuff("player","Gathering Vortex")
        local _,_,_,_,_,dur1 = UnitBuff("player","Lightning Vortex")
        if dur1==nil then dur1=0 end
        if count1==nil then count1=0 end
        if count2==nil then count2=0 end
        if UnitBuff("player","Ascendance") and dur1<=9
        then return (count1>18 or count1+count2>23)
        elseif UnitBuff("player","Ascendance") and dur1>9
        then return (count1>18)       
        elseif dur1>9
        then return(count1>16)
        else
            return (count1>16 or count1+count2>23)
        end
    end
end

 

 

Is there an error msg? or only no trigger?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...