Skip to content

Instantly share code, notes, and snippets.

View arcadepro's full-sized avatar
🍅

arcadepro arcadepro

🍅
  • The Hermit Cave
  • United Kingdom
View GitHub Profile
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active August 17, 2025 17:24
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@Choonster
Choonster / randomSounds.lua
Created December 4, 2012 15:06
A WoW script that provides two functions to play a random sound from a list.
local soundFiles = { -- These are example files only
"Sound\\Creature\\SomeCreature\\SomeCreature_Aggro01.ogg",
"Sound\\Creature\\OtherThing\\OtherThing_Greeting01.ogg"
"Interface\\AddOns\\MyAddOn\\Sounds\\levelup1.ogg"
}
local numSounds = #soundFiles -- Get the number of entries in the soundFiles table
local function PlayRandomSound()
local index = random(1, numSounds) -- Generate a random number between 1 and numSounds to use as an index. random is an alias of the math.random function