Hallo, I've made a script which puts on my infobar the four spells I like to have "always on", like strength, shield, armor, and fly.
Every time the mud sends me the message about my strength spell wearing off, I set the variable StrengthOnOff to false, and send the text "cast 'strength'" to the MUD.
Additionally, I made a script that shows text on the infobar like "strength" if the spell is NOT active, and "STRENGTH" if it is active. The same, of course, for other spells.
Now, I'd like to "simply click" on the "strength" text in the InfoBar to send the "cast 'strength'" text to the mud.
I tried with putting MXP on the infobar like <send href="cast 'strength'">strength</send> but it don't work.
How should I do?
Thanks in advance,
-marco-
Every time the mud sends me the message about my strength spell wearing off, I set the variable StrengthOnOff to false, and send the text "cast 'strength'" to the MUD.
Additionally, I made a script that shows text on the infobar like "strength" if the spell is NOT active, and "STRENGTH" if it is active. The same, of course, for other spells.
Now, I'd like to "simply click" on the "strength" text in the InfoBar to send the "cast 'strength'" text to the mud.
I tried with putting MXP on the infobar like <send href="cast 'strength'">strength</send> but it don't work.
How should I do?
Thanks in advance,
-marco-