Is it possible to bind a key that can then be used to call a lavish script?
Basically I am trying to reproduce something like the lazy line of scripts that you used to be able to use in WoW e.g you press a key and the script is called and depending on the conditions at the time fires of an available ability. I have looked through the wikki but can't find anything that indicates that I could
Key binds
Moderators: Lavish Software Team, Moderators
Code: Select all
bind runascript "CTRL+ALT+S" "run myscript"
bind scriptwithargs "CTRL+ALT+S" "run myscript ${If[${Me.Class.Equal[Ranger]},ranger,cleric]}
or just type "bind" by itself in the console.
For a guy called Grep, your search-fu is pretty weak
-
- GamingTools Subscriber
- Posts: 25
- Joined: Sat Nov 18, 2006 9:25 pm
I may be off base here, but...
A couple of ideas would be to create an event that's fired any time you press the keybind. Then add a trigger for that event which would call a function which contains the steps of what I'm assuming is basically some kind of macro.
Another idea would be to define your macro function as a global atom then execute that atom any time you press the keybind.
Just some thoughts. Like I said, I could be completely off base...
Another idea would be to define your macro function as a global atom then execute that atom any time you press the keybind.
Just some thoughts. Like I said, I could be completely off base...