Difference between revisions of "MQ2AdvBeep" - MMOBugs Wiki

Line 17: Line 17:
  
 
==Sample Code==
 
==Sample Code==
 
+
<div style="color: lightyellow; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; padding: 1em; border: 1px dashed #777; background-color: #303030; line-height: 1.1em; font-weight: normal !important; margin-top: 1em; margin-bottom: 1em;">
 
|--------------------------
 
|--------------------------
 
|  Batman.mac
 
|  Batman.mac
Line 115: Line 115:
  
 
/return
 
/return
 +
</div>
  
 
==Availability==
 
==Availability==
  
 
MQ2AdvBeep is available in the MMOBugs plugin distribution
 
MQ2AdvBeep is available in the MMOBugs plugin distribution

Revision as of 21:37, 12 November 2018

Plugin Info
Name MQ2AdvBeep
Author Zippzipp
Commands /advbeep

Description

This super userful plugin allows you to make beeps of varied pitches. It gives you the option to pick a note by name and octave, or by frequency.

Commands

  • /advbeep <note> <length> <octave> Plays a note of specified length at the specified octave
    • Possible notes: c, csharp, d, dsharp, e, f, fsharp, g, gsharp, a, asharp, b
  • /advbeep <frequency> <length> Play a note at the specified frequency for the specified length


Sample Code

|-------------------------- | Batman.mac |--------------------------

  1. turbo

Sub Main

  /advbeep d 300 2
  /advbeep d 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep c 300 2
  /advbeep c 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep d 300 2
  /advbeep d 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep c 300 2
  /advbeep c 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep d 300 2
  /advbeep d 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep c 300 2
  /advbeep c 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  
  /advbeep d 300 2
  /advbeep d 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep c 300 2
  /advbeep csharp 300 2
  /advbeep d 300 2
  /advbeep g 300 2
  /advbeep g 300 2
  /advbeep fsharp 300 2
  /advbeep fsharp 300 2
  /advbeep f 300 2
  /advbeep f 300 2
  /advbeep fsharp 300 2
  /advbeep fsharp 300 2
  /advbeep g 300 2
  /advbeep g 300 2
  /advbeep fsharp 300 2
  /advbeep fsharp 300 2
  /advbeep f 300 2
  /advbeep fsharp 300 2
  /advbeep g 300 2
  /advbeep d 300 2
  /advbeep d 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep c 300 2
  /advbeep c 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep d 300 2
  /advbeep d 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep c 300 2
  /advbeep csharp 300 2
  /advbeep d 300 2
  /advbeep a 300 2
  /advbeep a 300 2
  /advbeep gsharp 300 2
  /advbeep gsharp 300 2
  /advbeep g 300 2
  /advbeep gsharp 300 2
  /advbeep a 300 2
  /advbeep g 300 2
  /advbeep g 300 2
  /advbeep fsharp 300 2
  /advbeep fsharp 300 2
  /advbeep f 300 2
  /advbeep fsharp 300 2
  /advbeep g 300 2
  /advbeep d 300 2
  /advbeep d 300 2
  /advbeep csharp 300 2
  /advbeep csharp 300 2
  /advbeep c 300 2
  /advbeep csharp 300 2
  /advbeep d 300 2
  /advbeep f 300 2
  /advbeep g 300 2
  /advbeep f 300 2
  /advbeep g 300 2

/return

Availability

MQ2AdvBeep is available in the MMOBugs plugin distribution