Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Wrens
Novice


Joined: 01 Jun 2003
Posts: 32
Location: USA

PostPosted: Sun Jan 30, 2011 5:52 am   

#stwin help Dragonrealms
 
I've been working on an stormfront like experience window with dragonrealms in stormfront mode (boy, is all that HMTL a pain?) Anyways, I've gotten a single line trigger worked out to catch the experience.

<component id='($skillid:*)'><*<*>(*%w)</d>:%s(%n)?(%n)~%%s~[(*%n)/(%n)~]*

I use this to put information into a nested database record. After that, I've been using a status window to display the data. Works well if I build each of the status lines for the window by hand. Like, I got the great idea to make a single trigger for all of the info gathering. I decided the same tigger could be used to build all those satus lines. I hit a real wall. This is what I have.

#stwin {<color blue red>$skillid:</color> <color yellow>@exp.%2.rank</color> <color orange>@exp.%2.learninglevel</color> <color red>@exp.%2.parts</color>

It doesn't put the varibles in. The status line value I get is.

<color blue red>:</color> <color yellow>@exp.%2.rank</color> <color orange>@exp.%w.learninglevel</color> <color red>@exp.%2.parts</color>

After spending hours of trying to put in () [] and et all, Trying to build it before putting it into the command. I came to the conclusion I'm a the edge of my stupidity. Smile Can someone help.

BTW, CMUD 3.33a is much better, I am trying to give up ZMud. Wink
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2307

PostPosted: Sun Jan 30, 2011 4:21 pm   
 
#STWIN is designed to be run once--it _defines_ the status item. The definition can include variables. Whenever the variable changes, the window display updates. So, what you want to do is to replace %2, etc., in your #STWIN definition with variables. Take the #STWIN out of the trigger, and run #STWIN manually once. Have your trigger put the values into the variables that the #STWIN uses.
Reply with quote
Wrens
Novice


Joined: 01 Jun 2003
Posts: 32
Location: USA

PostPosted: Sun Jan 30, 2011 5:10 pm   
 
Thanks for the reply. I was doing each of the status bars one at a time. I think up something else maybe. Thanks again.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2307

PostPosted: Mon Jan 31, 2011 12:09 am   
 
No, you can have multiple status bars, each defined separately. That works fine. You just need to use variables instead of %1, etc.
Reply with quote
Wrens
Novice


Joined: 01 Jun 2003
Posts: 32
Location: USA

PostPosted: Wed Jun 07, 2017 6:10 am   
 
Been a long time since I posted on this subject

I got a workable way to display learning information in the status window. I'm posting the lot here, in case someone may be interested. Those gurus out there that may tweek this. I'd be interested.

Code:
<class name="experience counter">
    <trigger priority="16010">
      <pattern>Time Development Points:($tdps: *) Favors:</pattern>
      <value><![CDATA[#if ($tdps < @targettdps) {tdps = ~<color Black~> $tdps ~<~/color~>} {tdps = ~<color green~> $tdps ~<~/color~>}]]></value>
      <arglist>$tdps</arglist>
    </trigger>
    <alias name="expgen" enabled="false">
      <value><![CDATA[;to properly gather information flag BriefExp must be on
;is it a turn off state?
;#if (%1 = "") {#T- %trim( %2) status}
;#ECHO %1
;Get learning level
#var $posinfo %pos([,%2)
#Var $learninglevel %right(%2,$posinfo)
#var $learninglevel %trim(%replace($learninglevel,"</preset>",""))
#var $learninglevel %trim(%replace($learninglevel,"/34]",""))
;Get skill title
#var $posinfo %pos(skill ,%1)
#var $skill %trim(%right(%1,$posinfo+4))
;turn off the items
#if ($learninglevel = "") {#T- {%trim($skill)};} {
;get keyvalue
#var $posinfo %pos(</d>:,%2)
#var $keyvalue %trim(%left(%2,$posinfo-1))
#var $keyvalue %replace($keyvalue," ","")
;get ranks
#var $posinfo %pos(:,%2)
#var $ranks %trim(%right(%2,$posinfo))
#var $posinfo %pos([,$ranks)
#var $ranks %trim(%left($ranks,$posinfo-1))
#var $ranks %replace($ranks,"%","")
#var $ranks %replace($ranks," ",".")%
;make parts
#var $parts "["$learninglevel"/34]"
#case $learninglevel {$learninglevel = "<color #FFFFFF>dabbling</color>"}  {$learninglevel = "<color #FBF4F4>perusing</color>"}  {$learninglevel = "<color #F7E9E9>Learning</color>"}  {$learninglevel = "<color #F3DEDE>thoughtful</color>"} {$learninglevel = "<color #F7E9E9>thinking</color>"} {$learninglevel = "<color #F3DEDE>considering</color>"} {$learninglevel = "<color #F0D3D3>pondering</color>"} {$learninglevel = "<color #ECC8C8>ruminating</color>"} {$learninglevel = "<color #E8BDBD>concentrating</color>"} {$learninglevel = "<color #E4B2B2>attentive</color>"} {$learninglevel = "<color #E0A7A7>deliberative</color>"} {$learninglevel = "<color #D89090>interested</color>"} {$learninglevel = "<color #D58585>examining</color>"} {$learninglevel = "<color #D17A7A>understanding</color>"} {$learninglevel = "<color #CD6F6F>absorbing</color>"} {$learninglevel = "<color #C96464>intrigued</color>"} {$learninglevel = "<color #C96464>scrutinizing</color>"} {$learninglevel = "<color #C55959>analyzing</color>"} {$learninglevel = "<color #C14E4E>studious</color>"} {$learninglevel = "<color #BE4343>focused</color>"} {$learninglevel = "<color #BA3838>very focused</color>"} {$learninglevel = "<color #B62D2D>engaged</color>"} {$learninglevel = "<color #B22222>very engaged</color>"} {$learninglevel = "<color #D89090 #4D4D4D>cogitating</color>"} {$learninglevel = "<color #D58585 #595959>fascinated</color>"} {$learninglevel = "<color #D17A7A #666666>captivated</color>"} {$learninglevel = "<color #CD6F6F #808080>engrossed</color>"} {$learninglevel = "<color #C96464 #8C8C8C>riveted</color>"} {$learninglevel = "<color #C55959 #999999>very riveted</color>"} {$learninglevel = "<color #C14E4E #A6A6A6>rapt</color>"} {$learninglevel = "<color #BE4343 #B2B2B2>very rapt</color>"} {$learninglevel = "<color #BA3838 #BFBFBF>enthralled</color>"} {$learninglevel = "<color #B62D2D #CCCCCC>nearly locked</color>"} {$learninglevel = "<color #B22222 white>mind locked</color>"}
#var  keyvalue   $keyvalue "" {experience counter}
exp.@keyvalue"."parts=  "<color red>"$parts"</color>"
exp.@keyvalue"."rank = "<color yellow>"$ranks"</color>"
exp.@keyvalue"."learninglevel = "<color orange>"$learninglevel"</color>"
exp.@keyvalue"."title =  "<color blue red>"$skill":</color>"
statusline = "{<font face="@fontface" size="@fontsize">"@exp.@keyvalue.title" "@exp.@keyvalue.rank" "@exp.@keyvalue.learninglevel" "@exp.@keyvalue.parts "}"
#stwin @statusline "experience counter"  %trim($skill)
#T+ {%trim($skill)} status}]]></value>
    </alias>
    <var name="exp" type="Record">
      <value><![CDATA[Brawling="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=            <color yellow>320.84</color>|SKILL=<color blue red>Brawling:</color>"|Stealth="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=             <color yellow>755.01</color>|SKILL=<color blue red>Stealth:</color>"|Aug="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=        <color yellow>359.44</color>|SKILL=<color blue red>Augmentation:</color>"|Parry="parts=<color red>[21/34] Parts</color>|learninglevel=<color orange><color #BA3838>very focused</color></color>|rank=       <color yellow>445.14</color>|SKILL=<color blue red>Parry Ability:</color>"|Defend="parts=<color red>[4/34] Parts</color>|learninglevel=<color orange><color #F3DEDE>thoughtful</color></color>|rank=           <color yellow>546.07</color>|SKILL=<color blue red>Defending:</color>"|Skinning="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=            <color yellow>374.91</color>|SKILL=<color blue red>Skinning:</color>"|Scholar="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=         <color yellow>794.47</color>|SKILL=<color blue red>Scholarship:</color>"|Tactics="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=             <color yellow>524.54</color>|SKILL=<color blue red>Tactics:</color>"|Melee="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=       <color yellow>514.02</color>|SKILL=<color blue red>Melee Mastery:</color>"|Shield="parts=<color red>[20/34] Parts</color>|learninglevel=<color orange><color #BE4343>focused</color></color>|rank=        <color yellow>540.78</color>|SKILL=<color blue red>Shield Usage:</color>"|Backstab="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=            <color yellow>801.92</color>|SKILL=<color blue red>Backstab:</color>"|Missile="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=     <color yellow>349.75</color>|SKILL=<color blue red>Missile Mastery:</color>"|Locks="parts=<color red>[2/34] Parts</color>|learninglevel=<color orange><color #FBF4F4>perusing</color></color>|rank=        <color yellow>557.22</color>|SKILL=<color blue red>Locksmithing:</color>"|Mechlore="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=     <color yellow>345.86</color>|SKILL=<color blue red>Mechanical Lore:</color>"|Thievery="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=            <color yellow>406.35</color>|SKILL=<color blue red>Thievery:</color>"|Crossbow="parts=<color red>[7/34] Parts</color>|learninglevel=<color orange><color #F0D3D3>pondering</color></color>|rank=            <color yellow>375.99</color>|SKILL=<color blue red>Crossbow:</color>"|SE="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=         <color yellow>621.32</color>|SKILL=<color blue red>Small Edged:</color>"|LT="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=        <color yellow>128.8</color>|SKILL=<color blue red>Light Thrown:</color>"|LE="parts=<color red>[5/34] Parts</color>|learninglevel=<color orange><color #F7E9E9>thinking</color></color>|rank=         <color yellow>104.63</color>|SKILL=<color blue red>Large Edged:</color>"|IM="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=         <color yellow>416.05</color>|SKILL=<color blue red>Inner Magic:</color>"|FA="parts=<color red>[2/34] Parts</color>|learninglevel=<color orange><color #FBF4F4>perusing</color></color>|rank=           <color yellow>318.06</color>|SKILL=<color blue red>First Aid:</color>"|Appraise="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=           <color yellow>330.32</color>|SKILL=<color blue red>Appraisal:</color>"|Outdoors="parts=<color red>[2/34] Parts</color>|learninglevel=<color orange><color #FBF4F4>perusing</color></color>|rank=     <color yellow>492.57</color>|SKILL=<color blue red>Outdoorsmanship:</color>"|Util="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=             <color yellow>258.83</color>|SKILL=<color blue red>Utility:</color>"|Perc="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=          <color yellow>642.9</color>|SKILL=<color blue red>Perception:</color>"|Athletic="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=           <color yellow>428.69</color>|SKILL=<color blue red>Athletics:</color>"|Bows="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=                 <color yellow>139.53</color>|SKILL=<color blue red>Bow:</color>"|Debil="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=        <color yellow>384.58</color>|SKILL=<color blue red>Debilitation:</color>"|Evasion="parts=<color red>[1/34] Parts</color>|learninglevel=<color orange><color #FFFFFF>dabbling</color></color>|rank=             <color yellow>611.07</color>|SKILL=<color blue red>Evasion:</color>"|Lt Armor="parts=<color red>[7/34] Parts</color>|learninglevel=<color orange><color #F0D3D3>pondering</color></color>|rank=         <color yellow>564.72</color>|SKILL=<color blue red>Light Armor:</color>"]]></value>
      <json><![CDATA[{"Brawling":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"            <color yellow>320.84<\/color>","SKILL":"<color blue red>Brawling:<\/color>"},"Stealth":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"             <color yellow>755.01<\/color>","SKILL":"<color blue red>Stealth:<\/color>"},"Aug":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"        <color yellow>359.44<\/color>","SKILL":"<color blue red>Augmentation:<\/color>"},"Parry":{"parts":"<color red>[21\/34] Parts<\/color>","learninglevel":"<color orange><color #BA3838>very focused<\/color><\/color>","rank":"       <color yellow>445.14<\/color>","SKILL":"<color blue red>Parry Ability:<\/color>"},"Defend":{"parts":"<color red>[4\/34] Parts<\/color>","learninglevel":"<color orange><color #F3DEDE>thoughtful<\/color><\/color>","rank":"           <color yellow>546.07<\/color>","SKILL":"<color blue red>Defending:<\/color>"},"Skinning":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"            <color yellow>374.91<\/color>","SKILL":"<color blue red>Skinning:<\/color>"},"Scholar":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"         <color yellow>794.47<\/color>","SKILL":"<color blue red>Scholarship:<\/color>"},"Tactics":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"             <color yellow>524.54<\/color>","SKILL":"<color blue red>Tactics:<\/color>"},"Melee":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"       <color yellow>514.02<\/color>","SKILL":"<color blue red>Melee Mastery:<\/color>"},"Shield":{"parts":"<color red>[20\/34] Parts<\/color>","learninglevel":"<color orange><color #BE4343>focused<\/color><\/color>","rank":"        <color yellow>540.78<\/color>","SKILL":"<color blue red>Shield Usage:<\/color>"},"Backstab":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"            <color yellow>801.92<\/color>","SKILL":"<color blue red>Backstab:<\/color>"},"Missile":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"     <color yellow>349.75<\/color>","SKILL":"<color blue red>Missile Mastery:<\/color>"},"Locks":{"parts":"<color red>[2\/34] Parts<\/color>","learninglevel":"<color orange><color #FBF4F4>perusing<\/color><\/color>","rank":"        <color yellow>557.22<\/color>","SKILL":"<color blue red>Locksmithing:<\/color>"},"Mechlore":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"     <color yellow>345.86<\/color>","SKILL":"<color blue red>Mechanical Lore:<\/color>"},"Thievery":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"            <color yellow>406.35<\/color>","SKILL":"<color blue red>Thievery:<\/color>"},"Crossbow":{"parts":"<color red>[7\/34] Parts<\/color>","learninglevel":"<color orange><color #F0D3D3>pondering<\/color><\/color>","rank":"            <color yellow>375.99<\/color>","SKILL":"<color blue red>Crossbow:<\/color>"},"SE":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"         <color yellow>621.32<\/color>","SKILL":"<color blue red>Small Edged:<\/color>"},"LT":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"        <color yellow>128.8<\/color>","SKILL":"<color blue red>Light Thrown:<\/color>"},"LE":{"parts":"<color red>[5\/34] Parts<\/color>","learninglevel":"<color orange><color #F7E9E9>thinking<\/color><\/color>","rank":"         <color yellow>104.63<\/color>","SKILL":"<color blue red>Large Edged:<\/color>"},"IM":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"         <color yellow>416.05<\/color>","SKILL":"<color blue red>Inner Magic:<\/color>"},"FA":{"parts":"<color red>[2\/34] Parts<\/color>","learninglevel":"<color orange><color #FBF4F4>perusing<\/color><\/color>","rank":"           <color yellow>318.06<\/color>","SKILL":"<color blue red>First Aid:<\/color>"},"Appraise":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"           <color yellow>330.32<\/color>","SKILL":"<color blue red>Appraisal:<\/color>"},"Outdoors":{"parts":"<color red>[2\/34] Parts<\/color>","learninglevel":"<color orange><color #FBF4F4>perusing<\/color><\/color>","rank":"     <color yellow>492.57<\/color>","SKILL":"<color blue red>Outdoorsmanship:<\/color>"},"Util":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"             <color yellow>258.83<\/color>","SKILL":"<color blue red>Utility:<\/color>"},"Perc":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"          <color yellow>642.9<\/color>","SKILL":"<color blue red>Perception:<\/color>"},"Athletic":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"           <color yellow>428.69<\/color>","SKILL":"<color blue red>Athletics:<\/color>"},"Bows":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"                 <color yellow>139.53<\/color>","SKILL":"<color blue red>Bow:<\/color>"},"Debil":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"        <color yellow>384.58<\/color>","SKILL":"<color blue red>Debilitation:<\/color>"},"Evasion":{"parts":"<color red>[1\/34] Parts<\/color>","learninglevel":"<color orange><color #FFFFFF>dabbling<\/color><\/color>","rank":"             <color yellow>611.07<\/color>","SKILL":"<color blue red>Evasion:<\/color>"},"Lt Armor":{"parts":"<color red>[7\/34] Parts<\/color>","learninglevel":"<color orange><color #F0D3D3>pondering<\/color><\/color>","rank":"         <color yellow>564.72<\/color>","SKILL":"<color blue red>Light Armor:<\/color>"}}]]></json>
    </var>
    <var name="fontsize">3</var>
    <var name="fontface"> monospace</var>
    <trigger priority="7580" regex="true">
      <pattern>\\<\/compDef\>*</pattern>
      <value>#sub {}
</value>
    </trigger>
    <trigger priority="10" regex="true">
      <pattern><![CDATA[<component id='exp(.*?)'><d cmd='.*?'>(.*?)</d>:\w*(.*?) %*\[(.*?)/34\]</component>|<component id='exp (.*?)'><preset id='whisper'><d cmd='.*?'>(.*?)</d>:(.*?)%*\[(.*?)/34\]</preset></component>|<component id='exp (.*?)'></component>]]></pattern>
      <value>#psub ""
;expgen %2 %1
#if (%len(%trim(%9))>0)  {#var skill %trim(%9) "" {skill vari}
#T-  @skill status} {
#if  (%1 = "") {#var skill %trim(%5) "" {skill vari}
#var keyvalue %trim(%6) "" {skill vari}
#var ranks %trim(%replace(%trim(%7)," ",".")) "" {skill vari}
#var ranks %replace(@ranks,"%", "")  "" {skill vari}
#var parts %trim(%8) "" {skill vari}
}
{#var skill  %trim(%1) "" {skill vari}

#var keyvalue %trim(%2) "" {skill vari}
#var ranks %trim( %replace(%trim(%3)," ", "."))  "" {skill vari}
#var  ranks %replace(@ranks,"%","") "" {skill vari}
#var parts %trim(%4) "" {skill vari}
}
testgen}


 
</value>
    </trigger>
    <var name="Evasion" usedef="true">611.07</var>
    <var name="evasion2" usedef="true">611.07</var>
    <var name="parry" usedef="true">445.14</var>
    <var name="parry2" usedef="true">445.14</var>
    <var name="difference" usedef="true">165.93</var>
    <stat name="Outdoorsmanship" showinbar="false" showinwindow="true" priority="124190" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Outdoorsmanship:</color>      <color yellow>492.57</color> <color orange><color #FBF4F4>perusing</color></color> <color red>[2/34] Parts</color> ]]></value>
    </stat>
    <stat name="Athletics" showinbar="false" showinwindow="true" priority="124200" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Athletics:</color>            <color yellow>428.69</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Locksmithing" showinbar="false" showinwindow="true" priority="124210" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Locksmithing:</color>         <color yellow>557.22</color> <color orange><color #FBF4F4>perusing</color></color> <color red>[2/34] Parts</color> ]]></value>
    </stat>
    <stat name="Scholarship" showinbar="false" showinwindow="true" priority="124220" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Scholarship:</color>          <color yellow>794.47</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Perception" showinbar="false" showinwindow="true" priority="124230" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Perception:</color>           <color yellow>642.9</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Mechanical Lore" showinbar="false" showinwindow="true" priority="124240" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Mechanical Lore:</color>      <color yellow>345.86</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Stealth" showinbar="false" showinwindow="true" priority="124410" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Stealth:</color>              <color yellow>755.01</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Backstab" showinbar="false" showinwindow="true" priority="124420" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Backstab:</color>             <color yellow>801.92</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Small Edged" showinbar="false" showinwindow="true" priority="124430" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Small Edged:</color>          <color yellow>621.32</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Melee Mastery" showinbar="false" showinwindow="true" priority="124440" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Melee Mastery:</color>        <color yellow>514.02</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Debilitation" showinbar="false" showinwindow="true" priority="124450" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Debilitation:</color>         <color yellow>384.58</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Evasion" showinbar="false" showinwindow="true" priority="124460" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Evasion:</color>              <color yellow>611.07</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Parry Ability" showinbar="false" showinwindow="true" priority="124470" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Parry Ability:</color>        <color yellow>445.14</color> <color orange><color #BA3838>very focused</color></color> <color red>[21/34] Parts</color> ]]></value>
    </stat>
    <stat name="Shield Usage" showinbar="false" showinwindow="true" priority="124480" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Shield Usage:</color>         <color yellow>540.78</color> <color orange><color #BE4343>focused</color></color> <color red>[20/34] Parts</color> ]]></value>
    </stat>
    <stat name="Defending" showinbar="false" showinwindow="true" priority="124490" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Defending:</color>            <color yellow>546.07</color> <color orange><color #F3DEDE>thoughtful</color></color> <color red>[4/34] Parts</color> ]]></value>
    </stat>
    <stat name="Light Armor" showinbar="false" showinwindow="true" priority="124500" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Light Armor:</color>          <color yellow>564.72</color> <color orange><color #F0D3D3>pondering</color></color> <color red>[7/34] Parts</color> ]]></value>
    </stat>
    <stat name="Tactics" showinbar="false" showinwindow="true" priority="124510" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Tactics:</color>              <color yellow>524.54</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Chain Armor" showinwindow="true" priority="124630" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Chain Armor:</color>    </font>]]></value>
    </stat>
    <stat name="Brigandine" showinwindow="true" priority="124640" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Brigandine:</color>    </font>]]></value>
    </stat>
    <stat name="Plate Armor" showinwindow="true" priority="124650" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Plate Armor:</color>    </font>]]></value>
    </stat>
    <stat name="Large Edged" showinwindow="true" priority="124660" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Large Edged:</color>          <color yellow>104.63</color> <color orange><color #F7E9E9>thinking</color></color> <color red>[5/34] Parts</color> ]]></value>
    </stat>
    <stat name="Twohanded Edged" showinwindow="true" priority="124670" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Twohanded Edged:</color>    </font>]]></value>
    </stat>
    <stat name="Small Blunt" showinwindow="true" priority="124680" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Small Blunt:</color>    </font>]]></value>
    </stat>
    <stat name="Large Blunt" showinwindow="true" priority="124690" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Large Blunt:</color>    </font>]]></value>
    </stat>
    <stat name="Twohanded Blunt" showinwindow="true" priority="124700" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Twohanded Blunt:</color>    </font>]]></value>
    </stat>
    <stat name="Slings" showinwindow="true" priority="124710" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Slings:</color>    </font>]]></value>
    </stat>
    <stat name="Bow" showinwindow="true" priority="124720" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Bow:</color>                  <color yellow>139.53</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Crossbow" showinwindow="true" priority="124730" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Crossbow:</color>             <color yellow>375.99</color> <color orange><color #F0D3D3>pondering</color></color> <color red>[7/34] Parts</color> ]]></value>
    </stat>
    <stat name="Staves" showinwindow="true" priority="124740" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Staves:</color>    </font>]]></value>
    </stat>
    <stat name="Polearms" showinwindow="true" priority="124750" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Polearms:</color>    </font>]]></value>
    </stat>
    <stat name="Light Thrown" showinwindow="true" priority="124760" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Light Thrown:</color>         <color yellow>128.8</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Heavy Thrown" showinwindow="true" priority="124770" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Heavy Thrown:</color>    </font>]]></value>
    </stat>
    <stat name="Brawling" showinbar="false" showinwindow="true" priority="124780" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Brawling:</color>             <color yellow>320.84</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Offhand Weapon" showinwindow="true" priority="124790" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Offhand Weapon:</color>    </font>]]></value>
    </stat>
    <stat name="Missile Mastery" showinwindow="true" priority="124800" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Missile Mastery:</color>      <color yellow>349.75</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Inner Magic" showinbar="false" showinwindow="true" priority="124810" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Inner Magic:</color>          <color yellow>416.05</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Attunement" showinwindow="true" priority="124820" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Attunement:</color>    </font>]]></value>
    </stat>
    <stat name="Arcana" showinwindow="true" priority="124830" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Arcana:</color>    </font>]]></value>
    </stat>
    <stat name="Targeted Magic" showinwindow="true" priority="124840" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Targeted Magic:</color>    </font>]]></value>
    </stat>
    <stat name="Augmentation" showinbar="false" showinwindow="true" priority="124850" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Augmentation:</color>         <color yellow>359.44</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Utility" showinwindow="true" priority="124860" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Utility:</color>              <color yellow>258.83</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Warding" showinwindow="true" priority="124870" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Warding:</color>    </font>]]></value>
    </stat>
    <stat name="Sorcery" showinwindow="true" priority="124880" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Sorcery:</color>    </font>]]></value>
    </stat>
    <stat name="Thievery" showinbar="false" showinwindow="true" priority="124890" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Thievery:</color>             <color yellow>406.35</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="First Aid" showinbar="false" showinwindow="true" priority="124900" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>First Aid:</color>            <color yellow>318.06</color> <color orange><color #FBF4F4>perusing</color></color> <color red>[2/34] Parts</color> ]]></value>
    </stat>
    <stat name="Skinning" showinbar="false" showinwindow="true" priority="124910" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Skinning:</color>             <color yellow>374.91</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <stat name="Forging" showinwindow="true" priority="124920" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Forging:</color>    </font>]]></value>
    </stat>
    <stat name="Engineering" showinwindow="true" priority="124930" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Engineering:</color>    </font>]]></value>
    </stat>
    <stat name="Outfitting" showinwindow="true" priority="124940" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Outfitting:</color>    </font>]]></value>
    </stat>
    <stat name="Alchemy" showinbar="false" showinwindow="true" priority="124950" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Alchemy:</color>    </font>]]></value>
    </stat>
    <stat name="Enchanting" showinwindow="true" priority="124960" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Enchanting:</color>    </font>]]></value>
    </stat>
    <stat name="Performance" showinwindow="true" priority="124980" enabled="false">
      <value><![CDATA[<font face="system" size="3"><color blue red>Performance:</color>    </font>]]></value>
    </stat>
    <alias name="testgen">
      <value><![CDATA[$learninglevel = @parts
#vaR parts  %concat("[", @parts, "/34] Parts") "" {SKILL VARI}
#VAR LENGTHVARI  (20 - %LEN(@SKILL) ) "" {SKILL VARI}
#IF (@skill = "Parry Ability") {
  #VAR parry  @ranks  "" {EXPERIENCE COUNTER}
  #if (@parry > @parry2)  {
  #var parry2  @parry "" {EXPERIENCE COUNTER}
  #show @parry2
  #VAR DIFFERENCE   (@EVASION2-@PARRY2) "" {experience counter}
statusline ="{<font face="""@fontface""" size="""@fontsize"""><color blue red> Evasion parry difference: </color>"@difference"</font>}"
 #stwin @statusline "experience counter"  %trim( "evasion difference")
    }  }
#IF (@skill = "Evasion") {
  #VAR Evasion @ranks "" {EXPERIENCE COUNTER}
  #if (@evasion > @evasion2) {
  #var evasion2 @evasion "" {experience counter}
  #var difference  (@evasion2-@parry2)  "" {EXPERIENCE COUNTER}
statusline = "{<font face="""@fontface""" size="""@fontsize"""><color blue red> Evasion parry difference: </color>"@difference"</font>}"
    #stwin @statusline "experience counter"  %trim( "evasion difference")
         }
  }

#case $learninglevel
{$learninglevel = "<color #FFFFFF>dabbling</color>"} 
{$learninglevel = "<color #FBF4F4>perusing</color>"} 
{$learninglevel = "<color #F7E9E9>Learning</color>"} 
{$learninglevel = "<color #F3DEDE>thoughtful</color>"}
{$learninglevel = "<color #F7E9E9>thinking</color>"}
{$learninglevel = "<color #F3DEDE>considering</color>"}
{$learninglevel = "<color #F0D3D3>pondering</color>"}
{$learninglevel = "<color #ECC8C8>ruminating</color>"}
{$learninglevel = "<color #E8BDBD>concentrating</color>"}
{$learninglevel = "<color #E4B2B2>attentive</color>"}
{$learninglevel = "<color #E0A7A7>deliberative</color>"}
{$learninglevel = "<color #D89090>interested</color>"}
{$learninglevel = "<color #D58585>examining</color>"}
{$learninglevel = "<color #D17A7A>understanding</color>"}
{$learninglevel = "<color #CD6F6F>absorbing</color>"}
{$learninglevel = "<color #C96464>intrigued</color>"}
{$learninglevel = "<color #C96464>scrutinizing</color>"}
{$learninglevel = "<color #C55959>analyzing</color>"}
{$learninglevel = "<color #C14E4E>studious</color>"}
{$learninglevel = "<color #BE4343>focused</color>"}
{$learninglevel = "<color #BA3838>very focused</color>"}
{$learninglevel = "<color #B62D2D>engaged</color>"}
{$learninglevel = "<color #B22222>very engaged</color>"}
{$learninglevel = "<color #D89090 #4D4D4D>cogitating</color>"}
{$learninglevel = "<color #D58585 #595959>fascinated</color>"}
{$learninglevel = "<color #D17A7A #666666>captivated</color>"}
{$learninglevel = "<color #CD6F6F #808080>engrossed</color>"}
{$learninglevel = "<color #C96464 #8C8C8C>riveted</color>"}
{$learninglevel = "<color #C55959 #999999>very riveted</color>"}
{$learninglevel = "<color #C14E4E #A6A6A6>rapt</color>"}
{$learninglevel = "<color #BE4343 #B2B2B2>very rapt</color>"}
{$learninglevel = "<color #BA3838 #BFBFBF>enthralled</color>"}
{$learninglevel = "<color #B62D2D #CCCCCC>nearly locked</color>"}
{$learninglevel = "<color #B22222 white>mind locked</color>"}
exp.@keyvalue"."parts=  "<color red>"@parts"</color>"
exp.@keyvalue"."rank = %REPEAT(" ",@LENGTHVARI)"<color yellow>"@ranks"</color>"
exp.@keyvalue"."learninglevel = "<color orange>"$learninglevel"</color>"
exp.@keyvalue"."SKILL =  "<color blue red>"@skill":</color>"
;#ECHO @EXP.@KEYVALUE.PARTS
;#ECHO @EXP.@KEYVALUE.RANK
;#ECHO @EXP.@KEYVALUE.LEARNINGLEVEL
;#ECHO @EXP.@KEYVALUE.SKILL
statusline = "{<font face="@fontface" size="@fontsize">"@exp.@keyvalue.SKILL" "@exp.@keyvalue.rank" "@exp.@keyvalue.learninglevel" "@exp.@keyvalue.parts "}"
#stwin @statusline "experience counter"  %trim(@skill)
#t+ @skill status
]]></value>
    </alias>
    <class name="skill vari">
      <var name="skill" usedef="true">Tactics</var>
      <var name="keyvalue" usedef="true">Aug</var>
      <var name="ranks" usedef="true">359.44</var>
      <var name="parts" usedef="true">[1/34] Parts</var>
      <var name="LENGTHVARI" usedef="true">8</var>
    </class>
    <stat name="Appraisal" showinbar="false" showinwindow="true" priority="126700" enabled="false">
      <value><![CDATA[<font face= monospace size=3><color blue red>Appraisal:</color>            <color yellow>330.32</color> <color orange><color #FFFFFF>dabbling</color></color> <color red>[1/34] Parts</color> ]]></value>
    </stat>
    <alias name="evasiondiff">
      <value><![CDATA[#IF (@skill = "Parry Ability") {
  #VAR parry  @ranks  "" {EXPERIENCE COUNTER}
  #echo %eval(@parry > @parry2)
  #if (@parry > @parry2)  {
  #var parry2  @parry "" {EXPERIENCE COUNTER}
  #show @parry2
  #VAR DIFFERENCE   (@EVASION2-@PARRY2) "" {experience counter}
statusline ="{<font face="""@fontface""" size="""@fontsize"""><color blue red> Evasion parry difference: </color>"@difference"</font>}"
 #stwin @statusline "experience counter"  %trim( "evasion difference")
    }  }
#IF (@skill = "Evasion") {
  #VAR Evasion @ranks "" {EXPERIENCE COUNTER}
  #if (@evasion > @evasion2) {
  #var evasion2 @evasion "" {experience counter}
  #var difference  (@evasion2-@parry2)  "" {EXPERIENCE COUNTER}
statusline = "{<font face="""@fontface""" size="""@fontsize"""><color blue red> Evasion parry difference: </color>"@difference"</font>}"
    #stwin @statusline "experience counter"  %trim( "evasion difference")
         }
  }
]]></value>
    </alias>
    <stat name="evasion difference" showinbar="false" showinwindow="true" priority="127480">
      <value><![CDATA[<font face=" monospace" size="3"><color blue red> Evasion parry difference: </color>165.93</font>]]></value>
    </stat>
  </class>


Guru tweak by Vijilante -- added code tags
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net