Unknown2006-12-21 03:29:59
I'm rather new to harvesting, so I wanted to make some triggers to warn me should I harvest something in hibernation. Here's what I did.
I made two triggers for each herb, one for hibernation and one for peak. When I did PLANTS, it'll note if the plants are in peak or hibernationg. I gave each trigger a label, and grouped them all as Herb_Growth. Then I had another group of triggers which worked off DATE. It turns off the group Herb_Growth, then enabletrigger individual triggers for that month.
Here are the problems I face.
My DATE triggers work off "Today is the * of Dioni". However, that doesn't seem to trigger when I use DATE.
Next problem is that my herb triggers are made to work when I use PLANTS. So those trigger off "(reishi)" for example. Again, when I use PLANTS, it doesn't trigger.
If I'm not wrong, what I need to do is to convert it to regular expression, but I'm not sure how and if it is the right thing to do.
Example of my herb trigger:
Triggered by: (reishi)
Send: colournote "red" "", "This plant is in Hibernation now. In fact, Nature growth if you can."
Send to: Script
Label: ReisH
Group: Herb_Growth
Example of my month trigger:
Triggered by: Today is the * of Roarkian
Send: enablegroup "Herb_Growth", 0
enabletrigger "CherH", 1
enabletrigger "MistP", 1
Send to: Script
Edit: Wooo! I figured out the solution!
What I needed was to convert them to regular, so I got /(reishi/) instead of (reishi) and Today is the .* of Dioni instead of Today is the *of Dioni. Wooooo!
Edit Again:
Now, the date trigger doesn't work. It turns out that the enablegroup 0 overrides the other triggers or something. I tried DoAfterSpecial, but it didn't work, so many someone can help.
Send: enablegroup "HerbGrowth", "0"
DoAfterSpecial 1, "enabletrigger ""CherH"", ""1""", 12
Any idea what is wrong?
I made two triggers for each herb, one for hibernation and one for peak. When I did PLANTS, it'll note if the plants are in peak or hibernationg. I gave each trigger a label, and grouped them all as Herb_Growth. Then I had another group of triggers which worked off DATE. It turns off the group Herb_Growth, then enabletrigger individual triggers for that month.
Here are the problems I face.
My DATE triggers work off "Today is the * of Dioni". However, that doesn't seem to trigger when I use DATE.
Next problem is that my herb triggers are made to work when I use PLANTS. So those trigger off "(reishi)" for example. Again, when I use PLANTS, it doesn't trigger.
If I'm not wrong, what I need to do is to convert it to regular expression, but I'm not sure how and if it is the right thing to do.
Example of my herb trigger:
Triggered by: (reishi)
Send: colournote "red" "", "This plant is in Hibernation now. In fact, Nature growth if you can."
Send to: Script
Label: ReisH
Group: Herb_Growth
Example of my month trigger:
Triggered by: Today is the * of Roarkian
Send: enablegroup "Herb_Growth", 0
enabletrigger "CherH", 1
enabletrigger "MistP", 1
Send to: Script
Edit: Wooo! I figured out the solution!
What I needed was to convert them to regular, so I got /(reishi/) instead of (reishi) and Today is the .* of Dioni instead of Today is the *of Dioni. Wooooo!
Edit Again:
Now, the date trigger doesn't work. It turns out that the enablegroup 0 overrides the other triggers or something. I tried DoAfterSpecial, but it didn't work, so many someone can help.
Send: enablegroup "HerbGrowth", "0"
DoAfterSpecial 1, "enabletrigger ""CherH"", ""1""", 12
Any idea what is wrong?
Unknown2006-12-21 19:04:04
Don't disable the group that the trigger is in. Why do you do that anyway? When do ever re-enable the group?