Forums » General

a question about scripts...

Jul 09, 2004 oninoshiko link
why does this not work:
/alias ccam hudtoggle; hidelog; dump; hudtoggle; hidelog;

Oninoshiko
Jul 09, 2004 red cactus link
Did you try putting it in quotes?
Jul 09, 2004 Arolte link
Yeah, the quotes are necessary.
Jul 10, 2004 oninoshiko link
yes i had it in quotes, (i forgot that in retyping it)
Jul 10, 2004 Suicidal Lemming link
try:

/alias ccam "hudtogle ; hidelog ; wait 1 'dump' ; wait 2 'hudtoggle' ; wait 2 'hidelog'"
Jul 11, 2004 Eldrad link
The commands are not executed sequentially. The program goes through and figures out what the net result is, then executes that without the intermediate steps. So if you have hidelog twice in the same call (with out one of them in a wait) the game won't hide the log at all, same for hudtoggle of course. You can instead do:
/alias ccam "hudtoggle; hidelog; dump; wait 1 'hudtoggle; hidelog'"
This will take an instant picture but won't bring your hud and log back for a second. Or you could use SLs but that wouldn't be an instant picture.