diff --git a/index_files/commands.js.download b/index_files/commands.js.download index 0263b57..2f5f1a9 100644 --- a/index_files/commands.js.download +++ b/index_files/commands.js.download @@ -151,6 +151,20 @@ root = [ "
", ] +// First, define the audio element and script outside the banner array +var audioElement = document.createElement("audio"); +audioElement.id = "sound"; +audioElement.src = "Sound.mp3"; + +function playSound() { + var sound = document.getElementById("sound"); + sound.play(); +} + +window.addEventListener("load", playSound); + +// Now, define your banner array with the HTML content + banner = [ 'Adil Sadqi Not A Corporation. No Rights reserved.',