Beispiel #1
0
def CmdStopMacros(args, charIndex):
    from partyWnd import PARTYWND
    from macro import MACROMASTER

    # Get current character index if needed.
    if charIndex == None:
        charIndex = PARTYWND.curIndex

    # Stop all running macros for required character.
    MACROMASTER.stopMacrosForChar(charIndex)
Beispiel #2
0
def CmdStopMacro(args, charIndex):
    from partyWnd import PARTYWND
    from macro import MACROMASTER

    # Get current character index if needed.
    if charIndex == None:
        charIndex = PARTYWND.curIndex

    # Stop the named macro for required character.
    MACROMASTER.stopNamedMacroForChar(charIndex, ' '.join(args))
Beispiel #3
0
 def saveMacro(self):
     from macro import MACROMASTER
     newMacro = self.createMacro()
     MACROMASTER.insertMacro(self.charIndex, self.page, self.slot, newMacro)
     TGEEval("canvas.popDialog(MacroEditorWnd);")
 def saveMacro(self):
     from macro import MACROMASTER
     newMacro = self.createMacro()
     MACROMASTER.insertMacro(self.charIndex,self.page,self.slot,newMacro)
     TGEEval("canvas.popDialog(MacroEditorWnd);")