Juke Box

(Pour ajouter, mettre, inscrire un script...cliquez sur "Edit Script" dans "Door Info")

Créez une porte (Door) et ajoutez-y ce script:

ON ENTER {

"Inscrivez dans la boîte de dialogue l'une des chansons que vous aimeriez écouter." LOCALMSG

}

Créez une deuxième porte (Door) et mettez-y ce script:

ON OUTCHAT {
[ "against" "beautiful" "casper" "dngiv" "epitaph" "heartofgold" "hereflod" "into" "superstition" "titanic" ] midis =
{ MIDISTOP } CHATSTR "midistop" == IF
{ { md = { MIDISTOP CHATSTR SOUND CHATSTR MIDIPLAY
} CHATSTR md == IF
} midis FOREACH
} DATETIME 0 > IF
}

...ensuite une troisième porte (Door) pour arrêter la musique en tout temps en cliquant simplement sur une image gif représentant un bouton ou bien en cochant dans "Door Info...Show Name" et écrire MIDISTOP dans la case "Name"... inscrivez-y ce script:

ON SELECT { MIDISTOP }

*Note: Il est aussi possible d'arrêter la musique en écrivant midistop dans la boîte de dialogue...donc la troisième porte est facultative.

...une quatrième porte (Door) pour offrir la liste des sons midi et dans "Door Info"...cochez "Show Name"...écrivez LISTE dans la case "Name" et inscrivez-y ce script:

ON SELECT {
"against
beautiful
casper
dngiv
epitaph
heartofgold
hereflod
into
superstition
titanic" LOCALMSG}

Ce script possède comme avantage d'offrir aux visiteurs de télécharger directement les sons midi via votre Juke Box Room.

Téléchargez les sons midi de ce script: musique2.zip et décompressez-les dans le répertoire Communities.com\PalaceServer\palace\media.

*Important: Ne rajoutez pas l'extension ".mid".

Juke Box 2

Créez une porte (Door) et ajoutez-y ce script:

ON SELECT {
"Inscrivez dans la boîte de dialogue l'une des chansons que vous aimeriez écouter:
against
beautiful
casper
dngiv
epitaph
heartofgold
hereflod
into
superstition
titanic" LOCALMSG}

Créez une deuxième porte (Door) et mettez-y ce script:

ON OUTCHAT
{

{ ")against.mid" SAY "" CHATSTR =
} CHATSTR "against" == IF

{ ")beautiful.mid" SAY "" CHATSTR =
} CHATSTR "beautiful" == IF

{ ")casper.mid" SAY "" CHATSTR =
} CHATSTR "casper" == IF

{ ")dngiv.mid" SAY "" CHATSTR =
} CHATSTR "dngiv" == IF

{ ")epitaph.mid" SAY "" CHATSTR =
} CHATSTR "epitaph" == IF

{ ")heartofgold.mid" SAY "" CHATSTR =
} CHATSTR "heartofgold" == IF

{ ")hereflod.mid" SAY "" CHATSTR =
} CHATSTR "hereflod" == IF

{ ")into.mid" SAY "" CHATSTR =
} CHATSTR "into" == IF

{ ")superstition.mid" SAY "" CHATSTR =
} CHATSTR "superstition" == IF

{ ")titanic.mid" SAY "" CHATSTR =
} CHATSTR "titanic" == IF

}

...ensuite une troisième porte (Door) pour arrêter la musique en tout temps en cliquant simplement sur une image gif représentant un bouton ou bien en cochant dans "Door Info...Show Name" et écrire MIDISTOP dans la case "Name"... inscrivez-y ce script:

ON SELECT { MIDISTOP }

Compressez vos mids avec WinZip pour que le fichier soit moins long à télécharger et recréez-vous une dernière porte qui servira de téléchargement via votre page web et insérez-y ce script:

ON SELECT {

"http://l'adresse de votre page web" NETGOTO

}

*Important: N'enlevez pas l'extension ".mid".

Mentionnez aux visiteurs à l'intérieur de votre Juke Box Room de décompresser le fichier dans le répertoire Communities.com\ThePalace/media/Sounds.

*Note: Le choix des mids ainsi que le nombre est facultatif...

Téléchargez les sons midi de ce script: musique.zip

Jube Box (wav)

Créez une porte (Door) et ajoutez-y ce script:

ON ENTER {

"Inscrivez dans la boîte de dialogue l'une des chansons que vous aimeriez écouter." LOCALMSG

}

Créez une deuxième porte (Door) et mettez-y ce script:

ON OUTCHAT
{

{ "smooth" SOUND "" CHATSTR =
} CHATSTR "smooth" == IF

{ "fadetoblack" SOUND "" CHATSTR =
} CHATSTR "fadetoblack" == IF

{ "intheairtonight" SOUND "" CHATSTR =
} CHATSTR "intheairtonight" == IF

{ "breakfastinamerica" SOUND "" CHATSTR =
} CHATSTR "breakfastinamerica" == IF

{ "crush" SOUND "" CHATSTR =
} CHATSTR "crush" == IF

{ "listentothemusic" SOUND "" CHATSTR =
} CHATSTR "listentothemusic" == IF

{ "angel" SOUND "" CHATSTR =
} CHATSTR "angel" == IF

{ "givemeonereason" SOUND "" CHATSTR =
} CHATSTR "givemeonereason" == IF

}

...une troisième porte (Door) pour offrir la liste des sons wav et dans "Door Info"...cochez "Show Name"...écrivez LISTE dans la case "Name" et inscrivez-y ce script:

ON SELECT {
"smooth
fadetoblack
intheairtonight
breakfastinamerica
crush
listentothemusic
angel
givemeonereason" LOCALMSG}

Ce script possède comme avantage d'offrir aux visiteurs de télécharger directement les sons wav via votre Juke Box Room.

Placez vos fichiers wav dans le répertoire Communities.com\PalaceServer\palace\media.

*Important: Enlevez l'extension ".wav".

*Note: Le choix des wav ainsi que le nombre est facultatif...

Voilà......amusez-vous bien !!!

Menu