| Blockland Forums > General Discussion |
| Short Server Commands |
| (1/8) > >> |
| MARBLE MAN:
Short meaning they can fit on about one-two lines :P You can activate these on your server by copy/pasting the text that looks like this into the console Here's some of mine: /setmusic song_name_with_underscores Sets the music of the player object function serverCmdsetmusic(%client,%music) {%music=strReplace(%music,"-","DASH"); %client.player.playAudio(0,"MusicData_"@%music); } /say message_here Sends a message like (NAME --> message_here) function serverCmdsay(%client, %msg) {%msg=strReplace(%msg,"_"," "); announce(%client.name SPC "-->" SPC %msg);} \me message_here (type /, not \) Sends a message like (NAME message_here function serverCmdme(%client, %msg) {%msg=strReplace(%msg,"_"," "); announce(%client.name SPC """ SPC %msg);} /tags prefix suffix Lets you change your tags in-game (you can also make them longer, colored, and fonted) function serverCmdtags(%client, %prefix, %suffix) {findclientbyname(%client.name).clanprefix=(%prefix); findclientbyname(%client.name).clansuffix=(%suffix);} /burn duration Makes the player burn for %duration seconds function serverCmdburn(%client, %time) {%time=strReplace(%time,"_"," "); findclientbyname(%client.name).player.burnPlayer(%time); announce(%client.name SPC "has been set on fire!");} /slap name Takes 1 health point away from the target function serverCmdslap(%client, %target) {%extra=strReplace(%extra,"_"," "); findclientbyname(%target).player.addHealth("-1"); announce(%client.name SPC " slapped " SPC %target);} /vel Xpower Ypower Zpower Same as the add velocity event function serverCmdvel(%client, %x, %y, %z) {findclientbyname(%client.name).player.addvelocity(%x SPC %y SPC %z);} /want name message_here Sends a message saying: NAME wants OTHERNAME to Message_here function serverCmdwant(%client, %target, %extra) {%extra=strReplace(%extra,"_"," "); announce(%client.name SPC " wants " SPC %target SPC " to " SPC %extra);} /namecolor paintcolorid Sets the player's name to the paint color you selected function servercmdnamecolor(%client, %col) {if(isObject(%client.player)) %client.player.setShapeNameColor(getColorIDTable(%col));} (i use announce because it is shorter than chatmessageall) Do you have any?! [/sub] |
| MrLoganator111:
Some of these (slap + burn) are MSP only. Not default. |
| MARBLE MAN:
--- Quote from: MrLoganator111 on August 17, 2012, 11:46:44 AM ---Some of these (slap + burn) are MSP only. Not default. --- End quote --- Well, does it bother you? |
| MrLoganator111:
No, but i kinda guessed that this would just be default stuff, cuz with add ons, its obvious the commands that work with it. |
| Dr.shoe...:
--- Quote from: MARBLE MAN on August 17, 2012, 02:44:37 PM ---Well, does it bother you? --- End quote --- it kinda does. |
| Navigation |
| Message Index |
| Next page |