Mojo

Panel Example 2

Create clickable buttons with Mojo for Dark Age of Camelot (DAOC).

To create this panel, put the blue text shown below in your hotkey script. You must also define the hotkeys in your script (in other words, include a separate Hotkey() block for every DoHotkey() in the script below), otherwise nothing will happen when you click the buttons.

Hotkeys and scripts are explained in the multiboxing section of this website, but you don’t need to be a multiboxer to use them.

Panel
{
  QtyColumns(2)
  
  Button 
  { 
    DoHotkey (Shift F1) 
    Label ("Assist Gladys") 
  }
  
  Button 
  { 
    DoHotkey (Alt F1) 
    Label ( "Group heal") 
  }
  
  Button 
  { 
    DoHotkey (Ctrl F1) 
    Label ( "Target Fred")
  }
  
  Button
  { 
    DoHotkey (Ctrl Alt F5) 
    Label ("All stick driver")
  }
  
  Button
  { 
    DoHotkey (Shift F1) 
    Label ("All unstick")
  }
  
  Button 
  { 
    DoHotkey (Shift F3) 
    Label ("Heal target")
  }
  
  Button 
  { 
    DoHotkey (Shift F4)
    Label ("Form BG")
  }
  
  Button 
  { 
    DoHotkey (Alt F5) 
    Label ( "Form group") 
  }
  
  Button 
  { 
    DoHotkey (Ctrl F6) 
    Label ( "Disband group")
  }
  
  Button 
  { 
    DoHotkey (Ctrl Alt F5) 
    Label ("Target nearest")
  }
}

More pages about buttons and panels

This page was first published on March 4, 2020 and last modified on March 4, 2020

Comments