quick script quiz Thread last updated on 2003-02-21 03:33:19

Posted by member 884 on 2003-01-31 22:35:06

I posted this in irc.freenode.net #Litestep but at the time all were asleep...
what I want to know is: If I can assign scripts to all labels so that on mouse over all the labels do a !bang ?
I know that I can assign simple bangs but !Bangs that involve individual SetFontColor's I dont know how to do
I want to have all labels fade to a color on mouse over but want to know If I can do this to all labels with one script instead of one for every Label. ?

is there some sortof:
!$allLabels$SetFontColor or something ?...
or am I just being lazy ?

Posted by member 884 on 2003-01-31 22:38:11 link

I didnt realise this at the time but that titles a bit of a DR. Seuss tongue twister...

Posted by member 194 on 2003-02-06 09:27:15 link

bump!

Posted by member 7223 on 2003-02-17 05:49:56 link

First of all, you have to name your labels in a 'scripting' way: My1Label, My2Label, etc... Then, it's pretty simple to do things like:

*Script Bang !AllLabelsSetFontColor
*Script Exec !VarSet tmp 1
*Script Label LabelNext
*Script Exec !My%{tmp}LabelSetFontColor FFFFFF
*Script Exec !VarAdd tmp 1
*Script GotoIf ("%{tmp}"

Posted by member 7223 on 2003-02-17 05:52:15 link

Humm... my script had been troncated; but I guess you know the following...

Posted by member 884 on 2003-02-21 01:51:05 link

ahhhhhhhhh, so theres sorta "script variables" inside the bang! Exactly what I wanted. But they all have to have numbers inthem ?

I really need some documentation for MZscript. Where is the homepage for it ?

Posted by member 7 on 2003-02-21 03:24:38 link

there's a readme.txt in the mzscript zip...

Posted by member 884 on 2003-02-21 03:33:19 link

mmm yes. There is so...

I spose I really should study the manuscripts. Need a temple though, har har har.