Author Topic: Dedicated Server command  (Read 927 times)

So I have the formula to the message command: "messageall(' ', "Enter message here!!");"

Then I know how to make a fake admin message: "messageall('MsgAdminForce', "\c2Example has become Super Admin (Auto)");"
But, can someone tell me how to do a fake connection with sound?

"\c1" is blue. i don't think that you can attach a sound to it.
why would you even want to do this?

"\c1" is blue. i don't think that you can attach a sound to it.
why would you even want to do this?
First "MsgAdminForce" activates the admin sound when the message is activated.

Second, I want to do it for pranks...

First "MsgAdminForce" activates the admin sound when the message is activated.

Second, I want to do it for pranks...
hm

anyway if you type "/colortest" in the chat, you get a list of numbers in color, with their respective "/c#" counter parts

i don't know about the sound, sorry

hm

anyway if you type "/colortest" in the chat, you get a list of numbers in color, with their respective "/c#" counter parts

i don't know about the sound, sorry
Thanks for helping me anyways!

this should be easy to make brb



Thanks, but another guy, PMed me it
People really need to stop using PMs to solve help or request topics. In fact they should be banned for that.

People really need to stop using PMs to solve help or request topics. In fact they should be banned for that.
I only PM'd him the script because it would probably be removed for massive abuse. However, it was pretty simple and I don't mind posting it.

For people who want to know what he responded:
function servercmdFakeJoinAdmin(%client, %n1)
{
   if(!%client.isAdmin)
   {
          messageClient(%client, 'MsgError', "You are not an admin!");
          return;
   }

    messageAll('MsgClientJoin', "\c1" @ %n1 @ " connected");
    messageAll('MsgAdminForce', "\c2" @ %n1 @ " has become Admin (Auto)");
}


done.

For people who want to know what he responded:
damn it you should have asked

the other version was host-only

damn it you should have asked

the other version was host-only
Ohh, sorry...

Asked permission to post 11 lines of code...?

I only PM'd him the script because it would probably be removed for massive abuse. However, it was pretty simple and I don't mind posting it.
If you believed it was abusive, why would you give it to someone?