Author Topic: SMM Commands  (Read 774 times)

Can't find them, does anyone know how to find them in Super Murder Mystery? Sorry if this is the wrong place or something

Here's a list of all the ones I can find:

yes
no
thanks
help
wtf
succumb
die
whois
resetsmm

There's really not that many commands. What is it you're looking for exactly?

Well I'm looking for admin commands so I can like announce in global chat instead of having to wait for the round to end and talk in the 10 seconds of that time.

There's nothing like that in the commands like. You can easily write your own though, just open a .cs file, should do the server.cs, and put in something like
Code: [Select]
function serverCmdAnnounce(%client,%msg0,%msg1,%msg2,%msg3,%msg4,%msg5,%msg6,%msg7,%msg8,%msg9,%msg10,%msg11,%msg12,%msg13,%msg14,%msg15,%msg16,%msg17,%msg18,%msg19,%msg20)
{
    if(!%client.SuperAdmin)
        return;
    for(%i=0;%i<20;%i++)
    {
        %msg=%msg[%i];
    }
    messageAll("\c3"@%client.name@"\c6:"SPC%msg);
}
Then you can do /announce blah blah you all suck at this game up to 21 words.
Results may vary if I screwed this up with an error.

Alright, well just for future reference, how do I find the commands in the files? I've seen commands.cs but some gamemodes dont have them so how and where would I normally find them

Look in any .cs files for
function servercmdTHISWILLBECOMMAND(arguments, not a part of the command)
{
What code does here, don't bother reading it, since it's code
}

Huh, okay. Interesting. Thank you all.