Byond Chat and Music Play

By Mirccoder on Mar 24, 2009

This is a Byond System For Chatting And playing Music On it.

mob/var
    Name=""
mob/Login()
        alert("Welcome")
        var/name = input("","Name") as text
        usr.Name="[html_encode(name)]"
mob
    verb
        MusicPlay(S as sound)
            set name = "Music Play"
            set category = "Commands"
            view(src) << sound(S,0)
            view(src) << "[src.name] plays [S] for us!"
        MusicStop()
            set name = "Music Stop"
            set category = "Commands"
            view(src) << sound(null)
            view(src) << "[src.name] has stopped the music!"
mob
    verb
        OOC(text as text)
            world<<"<font color = Red>[Name]: <font color = purple>[text]</font></font>"

Comments

Sign in to comment.
Thecoder   -  Jan 02, 2013

That's pretty cool.

 Respond  
Itsaku   -  Mar 24, 2009

very nice dude

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.