PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: htb222 on 31 May, 2005, 18:53:56

Title: Sounds
Post by: htb222 on 31 May, 2005, 18:53:56
Hi there!
Another stupid question from me. Is there a way to play some sounds when a user access a command?
Thx and sorry if the question is dummy :D
Title:
Post by: Dessamator on 31 May, 2005, 19:04:50
lol, in theory yes, its possible all u need to do is setup ur bcdc, or whatever !
Title:
Post by: plop on 31 May, 2005, 19:32:06
QuoteOriginally posted by htb222
Hi there!
Another stupid question from me. Is there a way to play some sounds when a user access a command?
Thx and sorry if the question is dummy :D
if you mean a hubsite sound (which only the hoster hears) yes it's possible.

example:
os.execute("mplayer c:/mp3/dude_where's_my_hub.wav")

plop
Title:
Post by: htb222 on 31 May, 2005, 19:51:52
No, i mean that if the user execute a command like !alarm to be able to listen a sound.
But i guess that can't be make.
Thx anyway.
Cheers
Title:
Post by: plop on 31 May, 2005, 23:44:24
QuoteOriginally posted by htb222
No, i mean that if the user execute a command like !alarm to be able to listen a sound.
But i guess that can't be make.
Thx anyway.
Cheers
that can only be done on the client itself, the hub has nothing 2 do with it.
try bcdc and type /help, you'll extra commands which are done by the scripts.
example: *** (uptime.lua) /uptime [show]
in this case it's the uptime script.
if you want a the hub 2 play a sound on the client you would need a client and hub side script.
possible but unlikely, you won't ever get every user 2 start using a bcdc based client with the script.

plop
Title:
Post by: htb222 on 01 June, 2005, 08:15:01
Thx man. Cheers.
Title:
Post by: plop on 01 June, 2005, 19:53:13
QuoteOriginally posted by htb222
Thx man. Cheers.

yw

plop