shrubbot


(stealth6) #1

Just wondering if anybody knows how to run client side commands through admin commands like:


[command]
command = spec
exec    = team s
desc    = Puts you to the SPECTATOR team
levels  = 1 2 3

this doesn’t work, but is there a way to make it work??


(Paul) #2

Commands are always done serverside, so that won’t be possible.
Outside that, most mods have the !put command?


(Miki) #3

I guess shrubbot will have some wiki, so google is your friend.

–> first result on google :
this should get you somewhere : http://www.shitstorm.org/noquarter/wiki/index.php?title=Shrubbot


(stealth6) #4

lol yer I read the wiki loads a times, but nothing other client commands :frowning:

and team s was just an example.


(Paul) #5

Shrubbot code is included in qagame so it’s server side, no luck.

But you can use et admin mod?


(ChimTea) #6

I have been wondering the same thing…
Tried loads of combinations but still no luck :smiley:
I think ill have to talk to someone -,-
ill reply if i found solution


(ailmanki) #7

bind yourkey team s
?


(stealth6) #8

lol, as i said it’s just an example, it’s not that I’d only want people to go spec…

and it’s not possible to bind somebodies keys from the server.


(ailmanki) #9

You could make a menu where those extra cmds can be set, just like the control menu.
Aswell you can modify the cfg which is supplied by the mod, and so change default binds.
according to nq and etpub docu you can use g_shortcuts in commands… so maybe this would work:

[command]
command = spec
exec = put [n] s
desc = Puts you to the SPECTATOR team
levels = 1 2 3

[n] would be replaced by the name of the cmd user. Yet that might fail … If my name is ‘4 four’ … it will probably do nothing, and if my name is only ‘4’ it will prolly put slot number 4 in spec.
Maybe
exec = put “[n]” s
works correctly…
http://www.etpub.org/ETPubServerDocs.html#g_shortcuts
http://www.etpub.org/ETPubServerDocs.html#shrubbot


(stealth6) #10

shortcuts don’t work, I already tried :slight_smile: