Shattered Kingdoms https://shatteredkingdoms.org/forums/ |
|
Would this be tough to impliment? https://shatteredkingdoms.org/forums/viewtopic.php?f=22&t=22881 |
Page 1 of 1 |
Author: | laeZ1 [ Tue Aug 14, 2012 7:12 am ] |
Post subject: | Would this be tough to impliment? |
I'd like to be able to type "skill dodge", and have "Dodge <superb>" be the only thing to show up. It's not a very important thing, but if it's an easy code, it would save me pi secconds looking for dodge when I see I got better at it, and I want to see if I mastered it yet. (or whatever skill was improved) |
Author: | Edoras [ Tue Aug 14, 2012 7:19 am ] |
Post subject: | Re: Would this be tough to impliment? |
You so lazy! Just look at yo skills! |
Author: | Muktar [ Tue Aug 14, 2012 7:55 am ] |
Post subject: | Re: Would this be tough to impliment? |
Are you using zmud or cmud? |
Author: | laeZ1 [ Tue Aug 14, 2012 9:09 am ] |
Post subject: | Re: Would this be tough to impliment? |
Muktar wrote: Are you using zmud or cmud? Nope ![]() |
Author: | ObjectivistActivist [ Tue Aug 14, 2012 9:17 am ] |
Post subject: | Re: Would this be tough to impliment? |
laeZ1 wrote: Muktar wrote: Are you using zmud or cmud? Nope ![]() Most of what other clients do that simplemu can't, at least the free download of it, can be accomplished with the paid license, but simplemu still has limitations other clients don't. |
Author: | Dragonite2012 [ Tue Aug 14, 2012 10:58 am ] |
Post subject: | Re: Would this be tough to impliment? |
This really belongs in the Clients topic, but... I used to use SimpleMU, but now use MUSHClient. Much more versatile. And though I never thought to do this, as I was reading this thread a scripts/plugin idea popped into my head. Not sure if it is transferrable to cmud/zmud or not (never used those 2) You could write a plugin to use a trigger on the "better" lines, with the skill in question going into a wildcard. The trigger would go to a script function to enable and alter the matchline of a one-shot trigger. That new matchline would use the skill/spell name in the wildcard (from the first trigger), and highlight that skill the next time you type "skills" (or "spells"). the options for the first trigger would be something like (and I'm forgetting the exact wording for the match, and actually you would need two, both calling the get_match function... one for success better, one for failed attempt better).. enabled="y" match="You have improved in *!" script="get_match" In Lua, the script funtion would look something like...(assuming the second trigger's "name" is "hilite_skill" and it has "one_shot" option set to "yes", and a default "enabled" set to "no", and "reg_exp" set to "yes", and of course whatever color change, underline, etc) function get_match(name, line, wildcards) local newmatch = wildcards[1].."\s+\([a-z]+\)" SetTriggerOption("hilite_skill","enabled","y") SetTriggerOption("hilite_skill","match", newmatch) end |
Author: | laeZ1 [ Tue Aug 14, 2012 12:23 pm ] |
Post subject: | Re: Would this be tough to impliment? |
Dragonite2012 wrote: This really belongs in the Clients topic, but... I used to use SimpleMU, but now use MUSHClient. Much more versatile. And though I never thought to do this, as I was reading this thread a scripts/plugin idea popped into my head. Not sure if it is transferrable to cmud/zmud or not (never used those 2) You could write a plugin to use a trigger on the "better" lines, with the skill in question going into a I understood this part ![]() Dragonite2012 wrote: wildcard. The trigger would go to a script function to enable and alter the matchline of a one-shot trigger. That new matchline would use the skill/spell name in the wildcard (from the first trigger), and highlight that skill the next time you type "skills" (or "spells"). the options for the first trigger would be something like (and I'm forgetting the exact wording for the match, and actually you would need two, both calling the get_match function... one for success better, one for failed attempt better).. enabled="y" match="You have improved in *!" script="get_match" In Lua, the script funtion would look something like...(assuming the second trigger's "name" is "hilite_skill" and it has "one_shot" option set to "yes", and a default "enabled" set to "no", and "reg_exp" set to "yes", and of course whatever color change, underline, etc) function get_match(name, line, wildcards) local newmatch = wildcards[1].."\s+\([a-z]+\)" SetTriggerOption("hilite_skill","enabled","y") SetTriggerOption("hilite_skill","match", newmatch) end ![]() So... what you're basically saying... is that if I get my friend who's good with computers to come over under the false guise of wanting to play MtG, and show him what you just posted, he would know what that meant, how to do it, and whenever I would get better in a skill, song, or spell, the next time I'd check to see how good I've gotten, the skill, song, or spell in question would be highlighted? |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |