Blockland Forums > General Discussion

Big list O' Console Commands!

Pages: << < (56/71) > >>

suburb:


--- Quote from: Bloo doom on June 29, 2010, 03:21:47 PM --- findclientbyname(Name).player.delete();
I would hate to be the guy who gets deleted, though a different note it might be a good way to deal with spammers

--- End quote ---

Thats already on there its been there for a long time.

Red_Guy:


--- Quote from: Bloo doom on June 29, 2010, 03:21:47 PM --- findclientbyname(Name).player.delete();
I would hate to be the guy who gets deleted, though a different note it might be a good way to deal with spammers

--- End quote ---
I like this one better:
findclientbyname(Name).instantrespawn();

pops them back to a spawnpoint.  If you have multiple spawnpoints on your map, you can do this repeatedly and they will jump from point to point

JayGuerette:

I realize this is merely a more specific implementation of something already added, but it's a fun twist. You can make anybody appear to say anything in chat thusly:

MessageAll('msgadminforce', "\c3Blocky: \c6I'm a little teapot!");

The name tag is yellow, followed by a colon and a space, and the text is white. It's indistinguishable from regular chat. It's an easy way to make your NPC/bots talk in game. I only wish bots had their names above their heads like players.


ModderSlodder:


--- Quote from: JayGuerette on July 06, 2010, 10:09:25 PM ---I realize this is merely a more specific implementation of something already added, but it's a fun twist. You can make anybody appear to say anything in chat thusly:

MessageAll('msgadminforce', "\c3Blocky: \c6I'm a little teapot!");

The name tag is yellow, followed by a colon and a space, and the text is white. It's indistinguishable from regular chat. It's an easy way to make your NPC/bots talk in game. I only wish bots had their names above their heads like players.


--- End quote ---

Im pretty sure you can name Bots just like you can name vehicles. But you have to use events.

pecon7:

WebCom_PostServer(); -Reposts to the master server
$Pref::Server::MaxPlayers = <amount>; -Changes the max amount of players on the server (Server must be dedicated)

Pages: << < (56/71) > >>

Go to full version