Posted by member 12798 on 2004-05-05 03:08:20 link

in fact, it's like this:
*Script bang !SetFishSize
*Script exec !SetFishSetting vFishSize %{\1}
*Script exec !ifeval ("%{%#FishMinimumSize%#}" > "%{\1}") {!SetFishSetting vFishSize "%{%#FishMinimumsize%#}"}
*Script exec !SetupModules %{vFishSize}
*Script exec !LabelRefresh Fish FishImage fish%{vFishSize}.png
*Script ~bang

; !SetupFish
*Script bang !SetupFish
*Script exec !SetFishSize %{\1}
*Script exec !LabelMove Fish %{tx} %{\3}
*Script ~bang

*Script start !SetupFish $FishStartSize$ $FishStartX$ $FishStartY$

i've many bangs calling other bangs with parameters... thought it would work like programming languages do.

is the any way of getting around this elegantly? the only one i can think of is to set a lot of mzscript vars, yet in a way based on structural depth, so it is kind of dynamic (if you know what i mean... hm... :D).