Author Topic: The Admin Sound  (Read 1180 times)

What would be the function/command to make a 'Duh duh duh!', such as when people become admin. I'm writing an auto-admin script, so it'd be helpful.

Too busy with Christmas to trace/dump things right now, so I'm asking here quickly to see if anyone happens to know off-hand.

There is already and auto-admin function put in.

There is already and auto-admin function put in.
So? Nothing says I can't make my own. And even if I don't, I still want to know how the sound's made, so there. :(

Sorry, I thought you didn't know and I was saving you the work.

I did say that I was working on an auto-admin script, but that didn't mean that I was using it for just that purpose. :(

Thank you comrade, this answers many questions.

(Closed browser while writing reply, it deleted my explanation of tagged strings)

Messages like that don't exactly work in that way. When a message from the server which comes with an identifier (the first argument of messageAll(), etc) it is either sent to the chat if it is unrecognised or it calls a special function which handles the message and information. msgPlantError_overlap doesn't play base/data/sound/msgPlantError_overlap, it will show the Brick Inside Brick error.

I'd use clientcmdAdminSuccess() (commandtoclient(%newAdmin,'adminsuccess')), which plays the sound and actually lets the player access the admin menu and load bricks menus.

You can't disable the admin menu for a client, but the functions are useless as the buttons do nothing when you are not an admin on a server.