Shrubbot command -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 9 years ago

Hello there

Listen, i intend to create !kicks commands in shrubbot (nq 1.2.0) at my server for rulebreakers - spawnkillers. The thing is, i cant simply make that command to kick player. I tried so far:

[command] command = kicks exec = playsound sound/osp/playerkicked.wav; cp ^4|^1!!!^1PLAYER KICKED!!!^4| ^3You have been kicked for spawnkilling!; qsay ^3You have been kicked for ^1spawnkilling!^3Please, see the ^1spawnkilling^3 rules on website! desc = kick spawnkiller levels = 18 19 20 100 125 500 666 777 888 997 999 I have got absolutely no idea of what to write in exec, so it could kick:/ Can You help me??

Kind Regards




Guest

I didn't make it!

0 XP

 
#2 9 years ago

Hello BlackEight,

I don't see any !kick-command in your exec-line, so it's expectable you won't kick any player. Try the following:

[command] command = kicks exec = playsound sound/osp/playerkicked.wav; cp ^4|^1!!!^1PLAYER KICKED!!!^4| ^3You have been kicked for spawnkilling!; qsay ^3You have been kicked for ^1spawnkilling!^3Please, see the ^1spawnkilling^3 rules on website!; kick [1]; desc = kick spawnkiller levels = 18 19 20 100 125 500 666 777 888 997 999

[1] is a variable, it will change to what you enter after the !kicks-command. So if you do !kicks VW, [1] will be VW and VWOer will get kicked.

Greetings, VWOer