Jump to content

commands and stuf


killerspace

Recommended Posts

hello all im a new player and i have et server with running silend mod

 

and i had the question for

 

how to put commands to a lvl like setlevel,flinga [levedit]

 

and how to make commmands with sound like !rofl [rolling on the floor laughing] with sound

 

2 questions i hope you guys can help me

 

greetz killerspace ip server 213.108.31.11:27050

Link to comment
Share on other sites

  • Management

Adding commands to a level happens through srhubbot.cfg file. Put desired flags to desired levels and then issue !readconfig on the server. Or start/restart server.

 

You need to add the custom commands into the shrubbot cfg. Just like with editing the levels.

Here is 2 examples of custom commands.

[command]

command = rofl

exec = playsound sound/teasing/rofl.wav; chat ^7[n]^7 is rofl what you want as text!

desc = You rofl

levels = 2 3 4 5

 

[command]

command = crybaby

exec = playsound sound/teasing/crybaby.wav; chat ^7[1?]^7 is crying like a little baby!

desc = Make someone cry.

levels = 2 3 4 5

 

The latter one is using the silEnT mod specific place holder. If a partial name is given to the command, it will be replaced by a real player name if there is one and only one player to whos name it matches.

 

Also, read documentation here.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...