Author Topic: Easy server Commands :D (ServerSided)  (Read 5325 times)

Hey, this Add-on is for SuperAdmin only.                                   Ingame name: Mistrox

For people who just want their clan tag made easier etc

Command's in file =        

/talk (name) (text) =   (Makes you talk as someone else)
/kill (name)
/s (name) (SuffixClan Name) that mean the clan tag After the name.
/p (name) PrefixClan Name) the clan tag before name.
/scale (name) (0 0 0) = Numbers can be changed from 0, 1, 2, 3, 4, 5 (yourscale)

that's it you can see it all in the description text. extract the file in the add-ons file in the blockland directory.

Link: http://www.mediafire.com/?3fo194r6a5syk32

My first addon.    made it because i was bored

Wow great you just started admin abuse everywhere

Wow great you just started admin abuse everywhere

The other people don't have to known and its Super admin only. change if you self want.

actually I already made a mod like this just for me where you could talk as others and tons more. but that has prefs so i can change it to be admin, super admin or host only.

With all those forward slashes, I think this places as either the second or third most hideous scripting style I've ever seen.

Code: [Select]
///////////////////////////////////
/////////Author: MISTROX///////////
///////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function serverCmdtalk(%client, %name, %word1, %word2, %word3, %word4, %word5, %word6, %word7, %word8, %word9, %word10)//
{ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////                                         
  if(%client.isSuperAdmin) //                                                                                           
    {                      ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
           servercmdmessagesent(findclientbyname(%name), trim(%word1 SPC %word2 SPC %word3 SPC %word4 SPC %word5 SPC %word6 SPC %word7 SPC %word8 SPC %word9 SPC %word10));///
       } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
} ///////
//
//
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function serverCmds(%client, %name, %word1, %word2, %word3, %word4, %word5, %word6, %word7, %word8, %word9, %word10) //
{  ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 if(%client.isSuperAdmin) //
{ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  FindClientByName(%name).clanSuffix = %word1 SPC %word2 SPC %word3 @ %word4 @ %word5 @ %word6 @ %word7 @ %word8 @ %word9 @ %word10; //
 } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
} ///
//
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function serverCmdp(%client, %name, %word1, %word2, %word3, %word4, %word5, %word6, %word7, %word8, %word9, %word10) //
{ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 if(%client.isSuperAdmin)
{ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  FindClientByName(%name).clanPrefix = %word1 SPC %word2 SPC %word3 @ %word4 @ %word5 @ %word6 @ %word7 @ %word8 @ %word9 @ %word10; //
 } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
} ///
//
//
//
///////////////////////////////////////////////////////////////////
function serverCmdscale(%client, %name, %word1, %word2, %word3) //
{ ///////////////////////////////////////////////////////////////
 if(%client.isSuperAdmin) //////////////////////////////////////
  { //////////////////////////////////////////////////////////////////////////////////
      findClientByName(%name).player.setPlayerScale(%word1 SPC %word2 SPC %word3); //
    } //////////////////////////////////////////////////////////////////////////////
}//////
//
//
//
//////////////////////////////////////////
function serverCmdkill(%Client, %Name) //
{ //////////////////////////////////////
 if(%client.isHost) ///////////////////
 {////////////////////////////////////
  %Name = findClientByName(%Name); //
 (%name).player.setHealth("0"); ////
  }////////////////////////////////
}/////////////////////////////////
Nice scripting style

With all those forward slashes, I think this places as either the second or third most hideous scripting style I've ever seen.
What's the first?


Wow great you just started admin abuse everywhere
Oh jesus don't say that this is abusive, all of this was already possible. It's now only easier to do so.

  • ServerCmdMessageSent(FindClientByName("name"),"Message");
  • ServercmdSelf Delete(findclientbyname("name"));
  • findclientbyname("name").clanprefix=("stuff");
  • findclientbyname("name").clansuffix=("stuff");
  • findClientByName("Name").player.setPlayerScale("# # #");

This add-on makes life easier, you don't have to type all that commands stuff.
This is a good add-on, especialy for a first one.

Why the hell is there a Folder inside the Zipped Folder? you dont need to do that you just put the files inside the zipped..


Why the hell is there a Folder inside the Zipped Folder? you dont need to do that you just put the files inside the zipped..
Maybe for people with older computers or something where instead of that, you say "extract to here" and it puts ALL THE CONTENTS onto the location. It can get rather annoying when that happens. Maybe you shouldn't be so quick to judge you friend.

oh my bad. And Scars. if you use windows and you want to edit it just type into the Replace tool Replace: /
Replace with: 'spacebar'

           ^^^^^^^^^^^
     Dont type space bar just hit the space bar like once or just not type anythin there and the spam is gone! WALLA!

  • 1st toast - People get banned for this. Go away.
  • Please get an avatar, I find it annoying that you didn't
  • and, On topic: I can see how this can be useful, but in many ways it is abusive, especially the player scale one, it could be pretty funny though...
Ontopic: These are pretty nice, may I use the code for reference in a serverside addon I am going to make? :D



Not everyone knows about those but now we got noobs with it

I like em... But Abusive.... I bet...
But good for gettin the nubs