Alexiel
Posts: 28
|
#VAR qps #VAR questsdone #TRIGGER {As a reward for your valor, I am awarding you %1 quest points, %2 practices, %3 experience points, and %4 gold pieces!} {#add qps %1;#add gponhand %4;#add questsdone 1;#add practices %2;#math EXPTNL (@EXPTNL-%3)} {stats} #TRIGGER {Practices: %1} {#var practices %1} {stats} #TRIGGER {Quest Points: %1 ~(%2 quests~)} {@qps = %replace( "%1", ",");@questsdone = %replace( "%2", ",") } {stats} #TRIGGER {The Powers have noticed thy efforts at betterment, and have rewarded thee!} {score} {stats} #TRIGGER {You have [%1] practice sessions remaining.} {@practices = %replace("%1", ",")} {stats} #STAT {Quest Points: @qps (@questsdone completed) Practices: @practices Till Next QP Item ~(@qpitem~): @qpneeded} #alias qpset {#var qpitem "%1";#var qpcost %2} #trigger {Quest Points: &qpthous,&qphund ~((%d) quests~)} {#math qptotal ((@qpthous * 1000) + @qphund);#math qpneeded (@qpcost-@qptotal)} #status {Till Next QP Item ~(@qpitem~): @qpneeded} #alias {qpset} {#var qpitem "%1";#var qpcost %2} #var qpitem #var qpneeded #var qpcost #var qptotal I did not write either script, just looking to make it so that both show up on my status bar. Also curious on how you get a countdown on how long a fight takes. I saw a few in the logs. |
#VAR practices