obj
Machines
Get()
set hidden = 1
icon = 'machines.dmi'
Microphone
icon_state = "mic"
verb
Perform(son as obj in view(-1))
set src in oview(0)
if(istype(son,/obj/Lyrics/Song))
view(3) << "[usr] is now performing a song named [son:name]"
usr.frozen = 1
sleep(10)
view(3) << browse(son:song,"window=[son:name]")
for(var/mob/M as mob in view(3))
M.AskVote()
usr.frozen = 0
usr.Votes = global.vote1
usr << "You recieved [usr.Votes] votes"
I havnt actually tested this with anyone though i have placed some mobs on the map close to the mic and when it was voting time a got to chose all the votes. Could someone help me.
Say the mob the player connects to is /mob/player.
An easy solution.
Hiead