This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Classic Theme
Thottbot Theme
Hide helm macro/script
Post Reply
Return to board index
Post by
ljudsnubbe
Hello
Im looking for a macro or script that will hide my helm. All I find is the old show/hide-toggle /script ShowHelm(not ShowingHelm()) but thats not what Im looking for. I just want a macro/script that makes shure my helm is hidden (I wanna use it in a respecc/equipset X etc... all-in-one-macro)
Thx for any help
Post by
Phaleux
Use this to always hide your helm:
/script ShowHelm(false)
Post by
Nipah
I use:
/script ShowHelm(not ShowingHelm(2))
Though I think that one toggles it on/off.
Post by
ljudsnubbe
Use this to always hide your helm:
/script ShowHelm(false)
Worked like a charm, thx alot
Post by
130626
This post was from a user who has deleted their account.
Post by
Maunotavast
if anyone knows how to make them skinnier, don't be afraid to speak up.
For the left/right click scripts, using
SecureCmdOptionParse
shaves off a few characters compared to using GetMouseButtonClicked
Show helm on left click, else hide:
/run ShowHelm(SecureCmdOptionParse"1;0")
And you can easily define multiple clicks
Show helm on right or middle click:
/run ShowHelm(SecureCmdOptionParse"1;0")
Not to mention you can stick conditionals in there aswell :P
Post by
130626
This post was from a user who has deleted their account.
Post by
Maunotavast
The function call syntax in lua does permit supplying a function with a single literal string (without parentheses) as the argument. The other, more common way is the parentheses enclosed list of expressions (which is also the only way if the function takes in more than one argument).
http://www.lua.org/manual/5.1/manual.html#2.5.8
They call it syntactic sugar or something like that. I call it saving two characters :p
Post by
130626
This post was from a user who has deleted their account.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.