Dive/Surface (Script & Button Panel)

Post Reply
NotTeamTonka
Posts: 9
Joined: Fri Aug 21, 2020 8:05 pm

Dive/Surface (Script & Button Panel)

Post by NotTeamTonka » Sun Jan 24, 2021 10:54 pm

This small script is for a Dive/Surface button panel. It sends to all DAoC windows. You can use this as a starting point to make your own or use it as is. Save to a .txt file, and #include it in your script. :)

Code: Select all

Hotkey ( LCTRL LALT LSHIFT F4 press)
{
   Key ( Q press)
}

Hotkey ( LCTRL LALT LSHIFT F4 release)
{
   Key ( Q release)
}

Hotkey ( LCTRL LALT LSHIFT F5 press)
{
   Key ( SPACE press)
}

Hotkey ( LCTRL LALT LSHIFT F5 release)
{
   Key ( SPACE release)
}

Panel
{
  Label ("Dive/Surface")
  Position (0 0)
  QtyRows(2)

Button 

{ 

DoHotkeyOnPress(LCTRL LALT LSHIFT F4 Press)

DoHotkeyOnRelease(LCTRL LALT LSHIFT F4 Release)

Label ("DIVE") 

BackgroundColor (#646464) 

TextColor ( #ffffff ) 

FontWeight(bold)

}

Button 

{ 

DoHotkeyOnPress(LCTRL LALT LSHIFT F5 Press)

DoHotkeyOnRelease(LCTRL LALT LSHIFT F5 Release)

Label ("SURFACE") 

BackgroundColor (#646464) 

TextColor ( #ffffff ) 

FontWeight(bold)

}
}

Post Reply