ferlas2006-03-07 13:53:29
K I want to build a power log thingy in zmud, Ive got everything I need just im missing the immolation messages. No ones immolated in the past 6 days and I dont want to just to get the message.
2006/03/01 23:50 - (name) used -(number) power at (nexus)
2006/03/01 23:55 - (name) added (number) power at the (nexus)
2006/03/01 17:01 - (guild)drained -(number) for upkeep this month
2006/03/01 17:01 - The cultural strength of the (nexus) has generated (number) power
2006/03/01 00:45 - The (special item) added (number) power
2006/03/01 00:01 - The Wild Nodes added (number) power through the energies of the Astral Plane
2006/03/01 00:01 - The (totem/what ever cities have) added (number) power
2006/03/01 00:01 - The (Trees/what ever cites have) added (number) power
I think thats all the messages I just need the immolation one to put it in and get my system working, unless ive forgotten or missed out any messages?
2006/03/01 23:50 - (name) used -(number) power at (nexus)
2006/03/01 23:55 - (name) added (number) power at the (nexus)
2006/03/01 17:01 - (guild)drained -(number) for upkeep this month
2006/03/01 17:01 - The cultural strength of the (nexus) has generated (number) power
2006/03/01 00:45 - The (special item) added (number) power
2006/03/01 00:01 - The Wild Nodes added (number) power through the energies of the Astral Plane
2006/03/01 00:01 - The (totem/what ever cities have) added (number) power
2006/03/01 00:01 - The (Trees/what ever cites have) added (number) power
I think thats all the messages I just need the immolation one to put it in and get my system working, unless ive forgotten or missed out any messages?
Unknown2006-03-07 13:55:34
I'm not a power minister, so I don't know if uses the generic message, but what about siphoning from an aethership?
ferlas2006-03-07 14:06:29
Ah havnt got that one either, gimme gimme
Unknown2006-03-07 15:43:41
QUOTE(Avaer @ Mar 7 2006, 08:55 AM) 266700
I'm not a power minister, so I don't know if uses the generic message, but what about siphoning from an aethership?
No, that's something about (so-and-so) added/siphoned (so-and-forth) power from the aethership (such-and-something)
I'll have to pay attention for it the next time someone does.
ferlas2006-03-07 15:57:01
Hmm just thinking is there a powerlog message when guards die, no guards have died no ones immolated or siphoned in the past 6 days so im just sitting hoping someone has the message somewhere?
Unknown2006-03-07 23:57:23
QUOTE(ferlas @ Mar 7 2006, 10:57 AM) 266727
Hmm just thinking is there a powerlog message when guards die, no guards have died no ones immolated or siphoned in the past 6 days so im just sitting hoping someone has the message somewhere?
There is a message on the nation log, but not the power log, as gaurds dieing doesn't technically drain power, it just makes you summon more later, which drains power then.
Here are some more I don't think you have already:
- (person) drained -2000 power to raise a distortion field in the Village of (village name).
Though that can go on two lines, so you have to be careful about that.
Also:
- (person) drained -25 power to summon a (level 2 gaurd).
Penelope2006-03-08 00:07:24
2006/03/07 21:58 - (Person) drained -100 power through immolating the corpse of (Person).
Anisu2006-03-09 13:30:11
QUOTE(Penelope @ Mar 8 2006, 01:07 AM) 267080
2006/03/07 21:58 - (Person) drained -100 power through immolating the corpse of (Person).
That won't work because some people have long names and it will drop off, while others have short names and that will not drop off, It's entirely easier to just use the power ammount to see howmany times the guy immolated and then use powerlog 0 0 immolating
Ferlas, you can find the aethership stuff in my logger somewhere in this forum
edit: added the trigger part for your ease
CODE
#CLASS {powerministry|tracking} {disable}
#TRIGGER {%d/%d/%d %d:%d - (%w) used (%n) power at Pool of Stars} {#add citneglog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) added (%n) power at Pool of Stars} {#add citposlog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) added (%n) power by leading a citizen to the Light} {#add citposlog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) stole (%n) power} {#add theftlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - A symbol of (%w) added (%n) power} {#add misclog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (*) drained (%n) power through linking with (*)} {#add misclog.manse %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) drained (%n) for upkeep} {#add misclog.upkeep %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) channeled (%n) power of wild energy} {#add citposlog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) channeled (%n) power of astral energy} {#add citposlog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) drained (%n) power through immolating *} {#add immlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) drained (%n) power to summon (*)} {#add misclog.guardsummon %2;#additem summonedguards %1}
#TRIGGER {%d/%d/%d %d:%d - (%w) generated (%n) power} {#add misclog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - The cultural strength of * has } {}
#COND {generated (%n) power} {#add misclog.culture %1}
#TRIGGER {%d/%d/%d %d:%d - (%w) added (%n) energy from the aether ship *} {#ADD aethership.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - The Wild Nodes added (%n) power through } {#ADD misclog.wildnodes %1}
#CLASS 0
#TRIGGER {%d/%d/%d %d:%d - (%w) used (%n) power at Pool of Stars} {#add citneglog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) added (%n) power at Pool of Stars} {#add citposlog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) added (%n) power by leading a citizen to the Light} {#add citposlog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) stole (%n) power} {#add theftlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - A symbol of (%w) added (%n) power} {#add misclog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (*) drained (%n) power through linking with (*)} {#add misclog.manse %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) drained (%n) for upkeep} {#add misclog.upkeep %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) channeled (%n) power of wild energy} {#add citposlog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) channeled (%n) power of astral energy} {#add citposlog.%1 %2;#add citlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) drained (%n) power through immolating *} {#add immlog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - (%w) drained (%n) power to summon (*)} {#add misclog.guardsummon %2;#additem summonedguards %1}
#TRIGGER {%d/%d/%d %d:%d - (%w) generated (%n) power} {#add misclog.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - The cultural strength of * has } {}
#COND {generated (%n) power} {#add misclog.culture %1}
#TRIGGER {%d/%d/%d %d:%d - (%w) added (%n) energy from the aether ship *} {#ADD aethership.%1 %2}
#TRIGGER {%d/%d/%d %d:%d - The Wild Nodes added (%n) power through } {#ADD misclog.wildnodes %1}
#CLASS 0
are those of Celest, and unfortunatly no system will work for both city and commune due to the lenght of the names
ferlas2006-03-14 11:45:57
Hurray all done
Thats the targeted power log one, Do searchlog ferlas and you get something like this up after 5 seconds to count in lag you can lower this if you want.
Added 0
POWER BALANCE is -22
She has added enough to draw an extra 0 power this month
She can still draw 8 Power this month.
RESET
or
Added 18
POWER BALANCE is 18
She has added enough to draw an extra 1 power this month
She can still draw 31 Power this month.
RESET
Itll pick up immolations and put up a warning if it thinks someone has overdrawn, my wrap lenths like at 100 though so dont know if it would work for smaller than that.
AND!
#CLASS {powersum} {disable}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) used (%d) power at the Master Ravenwood Tree} {#add plogmain.%1 -%2;#add powerout -%2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a pooka} {#add plogfae.pooka %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a willowisp} {#add plogfae.willowisp %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a banshee} {#add plogfae.banshee %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a wood nymph} {#add plogfae.nymph %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a pigwidgeon} {#add plogfae.pigwidgeon %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a sprite} {#add plogfae.sprite %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a sylph} {#add plogfae.sylph %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a brownie} {#add plogfae.brownie %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a leprechaun} {#add plogfae.leprechaun %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) added (%d) power through *} {#if (%ismatch(%1,Glomdoring)=0) {#add plogmain.%1 %2;#add powerin %1}}
#TRIGGER {%d~/%d~/%d %d~:%d ~- The Drums of Glomdoring added (%d) power} {#add powerin %1;#add plogpassive.drums %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) added (%d) power at the Master Ravenwood Tree} {#add plogmain.%1 %2;#add powerin %2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) drained ~-(%d) for upkeep this month} {#add plogpassive.%1 -%2;#add powerout -%2}
#REGEX {\\d+\\/\\d+\\/\\d+ \\d+\\:\\d+ \\- The cultural strength of the Forest of Glomdoring has \\ngenerated (\\d+) power} {#add plogpassive.culture %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) generated (%d) power} {#add plogvillages.%1 %2;#add powerin %2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- The Wild Nodes added (%d) power through the energies of the } {#add plogpassive.wildnodes %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- The Shadow Totems added (%d) power} {#add plogpassive.totems %1;#add powerin %1;#alarm psumoff +1 {#t- automore;#t- powersum;#echo POWER SUMMARY - COMMUNE MEMBERS:;#echo %expanddb(@plogmain,%crlf,": ");#if (@plogfae) {#echo POWER SUMMARY - FAE:;#echo %expanddb(@plogfae,%crlf,": ")};#if (@plogvillages) {#echo POWER SUMMARY - VILLAGES:;#echo %expanddb(@plogvillages,%crlf,": ")};#if (@plogimmolate) {#echo POWER SUMMARY - IMMOLATIONS:;#echo %expanddb(@plogimmolate,%crlf,": ")};#if (@plogpassive) {#echo POWER SUMMARY - PASSIVE GENERATION:};#if (@plogpassive.shadowdancers) {#echo Shadowdancer upkeep: @plogpassive.shadowdancers power.};#if (@plogpassive.blacktalon) {#echo Blacktalon upkeep: @plogpassive.blacktalon power.};#if (@plogpassive.ebonguard) {#echo Ebonguard upkeep: @plogpassive.ebonguard power.};#if (@plogpassive.totems) {#echo Totem power generation: @plogpassive.totems power.};#if (@plogpassive.drums) {#echo Drums of Glomdoring power generation: @plogpassive.drums power.};#if (@plogpassive.trees) {#echo Tree power generation: @plogpassive.trees power.};#if (@plogpassive.culture) {#echo Cultural power generation: @plogpassive.culture power.};#if (@plogpassive.wildnodes) {#echo Wild Nodes power generation: @plogpassive.wildnodes power.};#if (@plogtheft) {#echo POWER SUMMARY - POWER STOLEN:;#echo expanddb(@plogtheft,%crlf,": ")};#if (@plogmisc) {#echo POWER SUMMARY - MISCELLANEOUS:};#if (@plogmisc.manses) {#echo Power drained by manses linked: @plogmisc.manses power.};#if (@plogmisc.guards) {#echo Power drained by guards summoned: @plog.guards};#echo TOTAL POWER IN: @powerin;#echo TOTAL POWER OUT: @powerout;#if (@powerout < 0) {#var netpower %eval(@powerin@powerout)} {#math netpower @powerin+@powerout};#echo NET POWER %if(@netpower > 0,GAIN,LOSS): @netpower;#send ""}}
#TRIGGER {%d~/%d~/%d %d~:%d ~- The * Trees added (%d) power} {#add plogpassive.trees %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) drained ~-(%n) power through immolating the corpse of (%w)} {#add plogimmolate.%3 -%2;#add powerout -%2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) added (%n) energy from the aether ship *} {#add plogmain.%1 %2;#add powerin %2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) stole (%n) power} {#add plogtheft.%1 -%2;#add powerout -%2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- * drained ~-(%n) power through linking with *} {#add plogmisc.manses -%1;#add powerout -%1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) channeled (%n) power of wild energy} {#add plogmain.%1 %2;#add powerin %2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) drained ~-(%n) power to summon *} {#add plogmisc.guards -%2;#add powerout -%2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) channeled (%n) power of astral energy} {#add plogmain.%1 %2;#add powerin %2}
#CLASS 0
#ALIAS psum {#t+ powersum;#t+ automore;#var powerin 0;#var powerout 0;#var plogmain "";#var plogfae "";#var plogpassive "";#var plogimmolate "";#var plogmisc "";#var plogvillages "";powerlog %1 %2}
#CLASS 0
Is from laysus who made a full summary log which is probally better than mine anyway
CODE
#CLASS {powerlogsearch}
#ALIAS SEARCHLOG {poweruse=0;poweradd=0;powerbalance=0;powercalcuate=0;powerdraw=0;powerlogtarget=%1;powerlog 0 0 %1;#WAIT 3000;#echo Used @poweruse;#echo Added @poweradd;#math powerbalance @poweradd-@poweruse;#echo POWER BALANCE is @POWERBALANCE;#math powercalcuate @poweradd/10;#echo She has added enough to draw an extra @powercalcuate power this month;#math poweruse @poweruse-@powercalcuate;#math powerdraw 30-@poweruse;#if @poweruse>30 {#echo This person has over draw if they are not security, protectors or champions.} {#echo She can still draw @powerdraw Power this month.};#if immolation=1 {#echo IMMOLATION PRESENT POWERBLOCK THEM;#echo IMOLATION PRESENT REPORT ON PROJECT};#WAIT 1000;poweruse=0;poweradd=0;powerbalance=0;powercalcuate=0;powerdraw=0;powerlogtarget=noone;immolation=0;nexuspower=0;#ECHO RESET}
#trigger {* - Blacktalon drained -(*) for upkeep this month} {#gag;#math nexuspower (@nexuspower-%1);blacktalonpower=%1}
#trigger {* - Shadowdancer drained -(*) for upkeep this month} {#gag;#math nexuspower (@nexuspower-%1);shadowdancerpower=%1}
#trigger {* - Ebonguard drained -(*) for upkeep this month} {#gag;#math nexuspower (@nexuspower-%1);ebonguard=%1}
#trigger {* - The cultural strength of the Forest of Glomdoring has generated (*) power} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - The Drums of Glomdoring added (*) power} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - The Wild Nodes added (*) power through the energies of the Astral Plane} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - The Living Totems added (*) power} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - The Enormous Ravenwood Trees added (*) power} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - @powerlogtarget used -(*) power} {#gag;#math poweruse (@poweruse+%1)}
#trigger {* - @powerlogtarget added (*) power} {#gag;#math poweradd (@poweradd+%1)}
#trigger {* - @powerlogtarget drained -100 power through immolating the corpse of (*).} {immolation=1}
#trigger {* - (*) drained -100 power through immolating the corpse of @powerlogtarget.} {immolation=1}
#CLASS 0
#ALIAS SEARCHLOG {poweruse=0;poweradd=0;powerbalance=0;powercalcuate=0;powerdraw=0;powerlogtarget=%1;powerlog 0 0 %1;#WAIT 3000;#echo Used @poweruse;#echo Added @poweradd;#math powerbalance @poweradd-@poweruse;#echo POWER BALANCE is @POWERBALANCE;#math powercalcuate @poweradd/10;#echo She has added enough to draw an extra @powercalcuate power this month;#math poweruse @poweruse-@powercalcuate;#math powerdraw 30-@poweruse;#if @poweruse>30 {#echo This person has over draw if they are not security, protectors or champions.} {#echo She can still draw @powerdraw Power this month.};#if immolation=1 {#echo IMMOLATION PRESENT POWERBLOCK THEM;#echo IMOLATION PRESENT REPORT ON PROJECT};#WAIT 1000;poweruse=0;poweradd=0;powerbalance=0;powercalcuate=0;powerdraw=0;powerlogtarget=noone;immolation=0;nexuspower=0;#ECHO RESET}
#trigger {* - Blacktalon drained -(*) for upkeep this month} {#gag;#math nexuspower (@nexuspower-%1);blacktalonpower=%1}
#trigger {* - Shadowdancer drained -(*) for upkeep this month} {#gag;#math nexuspower (@nexuspower-%1);shadowdancerpower=%1}
#trigger {* - Ebonguard drained -(*) for upkeep this month} {#gag;#math nexuspower (@nexuspower-%1);ebonguard=%1}
#trigger {* - The cultural strength of the Forest of Glomdoring has generated (*) power} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - The Drums of Glomdoring added (*) power} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - The Wild Nodes added (*) power through the energies of the Astral Plane} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - The Living Totems added (*) power} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - The Enormous Ravenwood Trees added (*) power} {#gag;#math nexuspower (@nexuspower+%1)}
#trigger {* - @powerlogtarget used -(*) power} {#gag;#math poweruse (@poweruse+%1)}
#trigger {* - @powerlogtarget added (*) power} {#gag;#math poweradd (@poweradd+%1)}
#trigger {* - @powerlogtarget drained -100 power through immolating the corpse of (*).} {immolation=1}
#trigger {* - (*) drained -100 power through immolating the corpse of @powerlogtarget.} {immolation=1}
#CLASS 0
Thats the targeted power log one, Do searchlog ferlas and you get something like this up after 5 seconds to count in lag you can lower this if you want.
Added 0
POWER BALANCE is -22
She has added enough to draw an extra 0 power this month
She can still draw 8 Power this month.
RESET
or
Added 18
POWER BALANCE is 18
She has added enough to draw an extra 1 power this month
She can still draw 31 Power this month.
RESET
Itll pick up immolations and put up a warning if it thinks someone has overdrawn, my wrap lenths like at 100 though so dont know if it would work for smaller than that.
AND!
CODE
#CLASS {powersum} {disable}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) used (%d) power at the Master Ravenwood Tree} {#add plogmain.%1 -%2;#add powerout -%2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a pooka} {#add plogfae.pooka %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a willowisp} {#add plogfae.willowisp %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a banshee} {#add plogfae.banshee %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a wood nymph} {#add plogfae.nymph %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a pigwidgeon} {#add plogfae.pigwidgeon %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a sprite} {#add plogfae.sprite %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a sylph} {#add plogfae.sylph %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a brownie} {#add plogfae.brownie %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- Glomdoring added (%d) power through a leprechaun} {#add plogfae.leprechaun %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) added (%d) power through *} {#if (%ismatch(%1,Glomdoring)=0) {#add plogmain.%1 %2;#add powerin %1}}
#TRIGGER {%d~/%d~/%d %d~:%d ~- The Drums of Glomdoring added (%d) power} {#add powerin %1;#add plogpassive.drums %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) added (%d) power at the Master Ravenwood Tree} {#add plogmain.%1 %2;#add powerin %2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) drained ~-(%d) for upkeep this month} {#add plogpassive.%1 -%2;#add powerout -%2}
#REGEX {\\d+\\/\\d+\\/\\d+ \\d+\\:\\d+ \\- The cultural strength of the Forest of Glomdoring has \\ngenerated (\\d+) power} {#add plogpassive.culture %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) generated (%d) power} {#add plogvillages.%1 %2;#add powerin %2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- The Wild Nodes added (%d) power through the energies of the } {#add plogpassive.wildnodes %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- The Shadow Totems added (%d) power} {#add plogpassive.totems %1;#add powerin %1;#alarm psumoff +1 {#t- automore;#t- powersum;#echo POWER SUMMARY - COMMUNE MEMBERS:;#echo %expanddb(@plogmain,%crlf,": ");#if (@plogfae) {#echo POWER SUMMARY - FAE:;#echo %expanddb(@plogfae,%crlf,": ")};#if (@plogvillages) {#echo POWER SUMMARY - VILLAGES:;#echo %expanddb(@plogvillages,%crlf,": ")};#if (@plogimmolate) {#echo POWER SUMMARY - IMMOLATIONS:;#echo %expanddb(@plogimmolate,%crlf,": ")};#if (@plogpassive) {#echo POWER SUMMARY - PASSIVE GENERATION:};#if (@plogpassive.shadowdancers) {#echo Shadowdancer upkeep: @plogpassive.shadowdancers power.};#if (@plogpassive.blacktalon) {#echo Blacktalon upkeep: @plogpassive.blacktalon power.};#if (@plogpassive.ebonguard) {#echo Ebonguard upkeep: @plogpassive.ebonguard power.};#if (@plogpassive.totems) {#echo Totem power generation: @plogpassive.totems power.};#if (@plogpassive.drums) {#echo Drums of Glomdoring power generation: @plogpassive.drums power.};#if (@plogpassive.trees) {#echo Tree power generation: @plogpassive.trees power.};#if (@plogpassive.culture) {#echo Cultural power generation: @plogpassive.culture power.};#if (@plogpassive.wildnodes) {#echo Wild Nodes power generation: @plogpassive.wildnodes power.};#if (@plogtheft) {#echo POWER SUMMARY - POWER STOLEN:;#echo expanddb(@plogtheft,%crlf,": ")};#if (@plogmisc) {#echo POWER SUMMARY - MISCELLANEOUS:};#if (@plogmisc.manses) {#echo Power drained by manses linked: @plogmisc.manses power.};#if (@plogmisc.guards) {#echo Power drained by guards summoned: @plog.guards};#echo TOTAL POWER IN: @powerin;#echo TOTAL POWER OUT: @powerout;#if (@powerout < 0) {#var netpower %eval(@powerin@powerout)} {#math netpower @powerin+@powerout};#echo NET POWER %if(@netpower > 0,GAIN,LOSS): @netpower;#send ""}}
#TRIGGER {%d~/%d~/%d %d~:%d ~- The * Trees added (%d) power} {#add plogpassive.trees %1;#add powerin %1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) drained ~-(%n) power through immolating the corpse of (%w)} {#add plogimmolate.%3 -%2;#add powerout -%2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) added (%n) energy from the aether ship *} {#add plogmain.%1 %2;#add powerin %2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) stole (%n) power} {#add plogtheft.%1 -%2;#add powerout -%2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- * drained ~-(%n) power through linking with *} {#add plogmisc.manses -%1;#add powerout -%1}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) channeled (%n) power of wild energy} {#add plogmain.%1 %2;#add powerin %2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) drained ~-(%n) power to summon *} {#add plogmisc.guards -%2;#add powerout -%2}
#TRIGGER {%d~/%d~/%d %d~:%d ~- (%w) channeled (%n) power of astral energy} {#add plogmain.%1 %2;#add powerin %2}
#CLASS 0
#ALIAS psum {#t+ powersum;#t+ automore;#var powerin 0;#var powerout 0;#var plogmain "";#var plogfae "";#var plogpassive "";#var plogimmolate "";#var plogmisc "";#var plogvillages "";powerlog %1 %2}
#CLASS 0
Is from laysus who made a full summary log which is probally better than mine anyway
Laysus2006-03-14 11:53:18
If you don't have something similar already, need
#CLASS {automore} {disable}
#TRIGGER {Type MORE to continue reading.} {more}
#CLASS 0
for my full summary to work.
CODE
#CLASS {automore} {disable}
#TRIGGER {Type MORE to continue reading.} {more}
#CLASS 0
for my full summary to work.