This is a VERY complicated idea. Just so you know. But any tips or parts of what might be required to go into this would be greatly appreciated from anyone. I'll be checking this regularily to talk over any discussion.
Also, I don't know if this would be easier to program in VB or something either...what do you people think? Perl seems pretty straight-forward.
Script Requisites:
1) Parse group data recieved from Mud after inputing the 'info' (see following code) command. Take data and stick it into NEW window that is in the lower right-hand part of the Mushclient window. The new window will have the same data as the original info code but each characters name will be highlighted in colors corresponding to health: Blue = 75%+, Yellow 75%-45%, Red = 45% or less. (Maybe it would be easier to set this up with a trigger and parse it like that instead of a new window...I have heard Perl and widget sets don't play nice)
2) Left-click will send 'c heal name' to world.
Ex. left-click nekoa-->world.send = "c heal nekoa"
(or something)
3) There is an 'auto heal' function activated by input of 'auto heal'. This function will poll the world for information to parse by repeatedly sending 'info' every 3 seconds. The data from the world (see code above) will update the new window...and should anyone's Hitpoints (H) be below 45% 'c heal name' will automatically be sent.
--------------------------------------------------------
I'm thinking the alias should go something like this:
But HOW do I get the $new_str var into it?
----------------------------------------------
The Mud that this is going to be primarily used on is known as Shattered Kingdoms.
mud.shatteredkingdoms.org:1996
http://www.shatteredkingdoms.org
http://three_sixteen.maniaserv.com/forum/
(sorry, I've been playing with the code function quite a bit...I won't edit this post anymore.)
Also, I don't know if this would be easier to program in VB or something either...what do you people think? Perl seems pretty straight-forward.
Script Requisites:
1) Parse group data recieved from Mud after inputing the 'info' (see following code) command. Take data and stick it into NEW window that is in the lower right-hand part of the Mushclient window. The new window will have the same data as the original info code but each characters name will be highlighted in colors corresponding to health: Blue = 75%+, Yellow 75%-45%, Red = 45% or less. (Maybe it would be easier to set this up with a trigger and parse it like that instead of a new window...I have heard Perl and widget sets don't play nice)
inf
Group: Dancin'
(11:F1) [ Liath] (12:F2) [ Tryx] (13:F3) [ Nekoa]
(21:M1) [------------] (22:M2) [------------] (23:M3) [------------]
(31:B1) [------------] (32:B2) [------------] (33:B3) [------------]
Characters Rank Pos In room Follow H ME PE
Liath Leader 11:F1 Yes No 100% 100% 58%
Tryx Member 12:F2 Yes Yes 97% 100% 100%
Nekoa Member 13:F3 Yes Yes 57% 100% 100%
2) Left-click will send 'c heal name' to world.
Ex. left-click nekoa-->world.send = "c heal nekoa"
(or something)
3) There is an 'auto heal' function activated by input of 'auto heal'. This function will poll the world for information to parse by repeatedly sending 'info' every 3 seconds. The data from the world (see code above) will update the new window...and should anyone's Hitpoints (H) be below 45% 'c heal name' will automatically be sent.
--------------------------------------------------------
I'm thinking the alias should go something like this:
<aliases>
<alias
match="say *"
enabled="y"
sequence="100"
>
<send>say &W%1</send>
</alias>
</aliases>
But HOW do I get the $new_str var into it?
----------------------------------------------
The Mud that this is going to be primarily used on is known as Shattered Kingdoms.
mud.shatteredkingdoms.org:1996
http://www.shatteredkingdoms.org
http://three_sixteen.maniaserv.com/forum/
(sorry, I've been playing with the code function quite a bit...I won't edit this post anymore.)