<p style="margin: 0px;"><!--StartFragment-->echo("\n\n")</p>
<p style="margin: 0px;">cecho(string.format([[<antique_white>.------------------------------------------------------------------------------.</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">| <orange_red>So you forgot your aliases again? <antique_white>|</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">|<a_darkmagenta> GEOMANCY <antique_white>|</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">| tuning - tune poison/cutting/asphyx |</p>
<p style="margin: 0px;">| twirl - twirl staff duh |</p>
<p style="margin: 0px;">| demup - demesne the slow way |</p>
<p style="margin: 0px;">| fexup - works outside demesne too! |</p>
<p style="margin: 0px;">| quake - the quick way! |</p>
<p style="margin: 0px;">| ccc - chasm! |</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">|<dark_orchid> PSIONICS <antique_white>|</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">| tb1 - choke/throatlock/burst |</p>
<p style="margin: 0px;">| tb2 - trip/burst/throatlock |</p>
<p style="margin: 0px;">| tc1 - choke/burst/clot/throatlock |</p>
<p style="margin: 0px;">| tbs - burst/bodyscan - trigger for heartburst! |</p>
<p style="margin: 0px;">| tkl - burst/fistleg/fistleg |</p>
<p style="margin: 0px;">| tka - burst/fistarm/fistarm |</p>
<p style="margin: 0px;">| tkb - burst/fisthead/fistchest |</p>
<p style="margin: 0px;">| tkf - alteraura/fisthead/fling! |</p>
<p style="margin: 0px;">| dcb - dagger/choke/barrier |</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">|<MediumPurple> PHANTASMS <antique_white>|</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">| phantom - weave phantom |</p>
<p style="margin: 0px;">| claws - weave claws |</p>
<p style="margin: 0px;">| redmask - weave redmask |</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">| |</p>
<p style="margin: 0px;">'------------------------------------------------------------------------------']]))</p>
<p style="margin: 0px;">echo("\n\n")<!--EndFragment--></p>
Please do let me know if I've done anything particularly dumb, or if there's a better way and I totally wasted my time! Maybe if I feel the need to waste more time I'll play around with it some more.
Comments
function stripchars( str, chr )<br>local s = ""<br>for g in str:gmatch( "[^"..chr.."]" ) do<br>s = s .. g<br>end<br>return s<br>end<br>
<br><font size="3"><span style="line-height: normal;">Trigger line:</span></font><br><font size="3"><span style="line-height: normal;">^The power of the nexus is at (.+).</span></font><br><br><font size="3"><span style="line-height: normal;">Script:</span></font><br><font size="3"><span style="line-height: normal;">if nexuspower == "" then</span></font><br><font size="3"><span style="line-height: normal;"> nexuspower = stripchars(matches[2], ",")</span></font><br><span style="font-size: medium; line-height: normal;">nexuspower</span><font size="3"><span style="line-height: normal;"> = tonumber(</span></font><span style="font-size: medium; line-height: normal;">nexuspower</span><font size="3"><span style="line-height: normal;">)</span></font><br><font size="3"><span style="line-height: normal;">cecho("<SpringGreen>\n Didn't find an existing value for nexus power! Resetting from capture.")</span></font><br><font size="3"><span style="line-height: normal;">else</span></font><br><br><font size="3"><span style="line-height: normal;">new</span></font><span style="font-size: medium; line-height: normal;">nexuspower</span><font size="3"><span style="line-height: normal;"> = stripchars(matches[2], ",")</span></font><br><font size="3"><span style="line-height: normal;">new</span></font><span style="font-size: medium; line-height: normal;">nexuspower</span><font size="3"><span style="line-height: normal;"> = tonumber(new</span></font><span style="font-size: medium; line-height: normal;">nexuspower</span><font size="3"><span style="line-height: normal;">)</span></font><br><font size="3"><span style="line-height: normal;">powerchange = new</span></font><span style="font-size: medium; line-height: normal;">nexuspower</span><font size="3"><span style="line-height: normal;"> - </span></font><span style="font-size: medium; line-height: normal;">nexuspower</span><br><span style="font-size: medium; line-height: normal;">nexuspower</span><font size="3"><span style="line-height: normal;"> = new</span></font><span style="font-size: medium; line-height: normal;">nexuspower</span><br><font size="3"><span style="line-height: normal;">cecho("<SpringGreen></span></font><springgreen style="font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;">\n The Megalith is at " ..<span style="font-size: medium;">nexuspower</span>.. " power")<br>cecho("<SpringGreen><springgreen>\n You added " ..powerchange.. " power")<br>permittedlinks = permittedlinks + powerchange / 2<br>cecho("<SpringGreen><springgreen>\n You may draw " ..permittedlinks.. " links")<br><br>end<br></springgreen></springgreen></springgreen>
There are a few more things needed to make this script work properly - a way to reset those variables, and a way to deduct a link each time you draw one. I added simple lines for that to the power management script I found floating around (a credit to its mysterious creator!)
Signature!
local hour = matches[2]
local minute = matches[3]
--[[ if you wanted to change this, ie to account for daylight time or adapt it for a
different timezone obviously you would just change it to (hour +/- x)]]
cecho("\n<dodger_blue> US EAST | WEST: "..((hour - 5) % 12)..":"..minute.."|"..((hour - 8) % 12)..":"..minute)
WHAT IT LOOKS LIKE IF YOU CBF USING YR IMAGINATION: