killerspace Posted April 16, 2011 Share Posted April 16, 2011 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 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted April 16, 2011 Management Share Posted April 16, 2011 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 = roflexec = playsound sound/teasing/rofl.wav; chat ^7[n]^7 is rofl what you want as text!desc = You rofllevels = 2 3 4 5 [command]command = crybabyexec = 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.