![]() |
Help with scripts
Exactly what do i need to do to get a script to run?
Consider the following: Code:
<Page Location="2616,-2" MaximumSize="132,20" MinimumSize="132,20" Name="Coin" ScrollExtent="110,20" Size="117,20">1. I cannot get it to display unless in use OnHoverIn - OnShow does not work, and i don't know how to make it work. 2. While the code is functional, it has a wierd effect, partly because of #1. When i hoverin, it displays fine. If i hoverout and back in again, it tries to talk, meaning, to the chat frame. I end up with messages: You are not in a group You say, "41s 42c" Unable to leave '42c': You are not in a channel. I have no idea why it's trying to talk, but as i said, that's a side-effect (maybe) of having to hoverin, which i don't want to do anyway. So, the question is, what causes a script to execute? What do i need to change, specifically, in this to make it happen? Regards. |
Fixed a thing
Replying to my own thread, as much as i talk to myself when writing code...
I fixed the problem i was having, only because i happened to stumble unto another OnEvent, OnTextChanged. Was able to use that to rewrite the block to showup and not try to talk to chat. Code:
removedMy next step would be to find a way to colorize each element of that text, before putting it together. Anyone have any ideas? .Regards --- Meh. Stupid thing wasn't updating properly, so had to go back to the beginning and did this instead. Code:
<Page Location="2616,-2" MaximumSize="132,20" MinimumSize="132,20" Name="Coin" ScrollExtent="110,20" Size="117,20" c="0" plat.text="0">Anyway, the objective of this post was to find a way to do this, and basically to get a list of OnEvents that i could use to execute the scripts. I'm still seeking that list, if anyone has anything. .Regards |
Don't use short variables in the code, because they will trigger in-game commands.
'S' will trigger the /say command for example. What is it you're trying to do exactly, I'm not sure if you exactly described your goal. Sorry if I missed it I'm not feeling well. Maybe post a screenshot of it in display? |
| All times are GMT -5. The time now is 11:26 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI