Jump to content

Command Simplification is it possible?


Recommended Posts

Hello. I am running ubuntu 14 server edition and want to know if there is a way to simplify the console commands (such as killing people or spawn etc..) via shell scripting and such? If there is any, is there any document u can suggest so i can work on. I am kind of familiar with shell scripting but have no idea if it is possible to implement a command to console such as using function for linux itself..

 

Thank you very much.

For example i tried this command and it does not work

screen -r world | "c_listallplayers()"

Trying to understand how to send command to game console, just messing around and this opens up the console and enters the command but the display message is like

 

 

[Announcement] leave_game Joeshmocoolstuff has left the game.
[steam] UserDisconnect successfully sent for steamid '76561198161213854'
ID_CONNECTION_LOST 200.198.6.88|1
[sHARD] Received disconnect notification for 'KU_-tok00a-' on server '[sHDMASTER](1)' ('[sHDMASTER](1)')
Serializing user session to session/FFFFFFFFB0FF2BC3/KU_-tok00a-_/0000000011
Sim paused
c_listallplayers''
ConsoleInput: "c_listallplayers''"
Steam p2p session for 76561198161213854 timed out.
Removed p2p session for 76561198161213854 (200.198.6.88|1)

c_listallplayers(): command not found

 

So it does not accept this entry as console input..

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...