Xonotic Forums
Help for custom voteble commands - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: Help for custom voteble commands (/showthread.php?tid=7650)



Help for custom voteble commands - KyMAN - 02-19-2018

Hi! How are you? Sorry for my poor english, I will translate this to my native language then, spanish.

I have a cuestion. Could I do help for my votable commands in my server? I tried a lot of possibilities and I searched many time and I can't found any solution. In the console we can see with "vhelp" command the general help and the votable commands and there is a sentence that say you can see the help for a command using "cmd vote help COMMAND" but I couldn't show any help for my commands. Could you help me please? Many thanks! :-D

Tengo una pregunta. ¿Podría hacer una ayuda para mis comandos de votación en mi servidor? He intentado muchas posibilidades y busqué mucho tiempo y no pude encontrar ninguna solución. En la consola se puede ver con el comando "vhelp" la ayuda general y los comandos de votación que tiene el servidor y una de las frases dice que usando "cmd vote help COMMAND" podrías ver la ayuda de un comando pero no he conseguido mostrar de ninguno de mis comandos. ¿Podríais ayudarme? ¡Muchas gracias! :-D


RE: Help for custom voteble commands - Halogene - 02-21-2018

This does not explain how to add help texts to custom votes...


RE: Help for custom voteble commands - morosophos - 02-21-2018

vote help doesn't show help for votes (either custom or built-in), it only shows help for vote commands (abstain, call, help, master, no, status, stop, yes). There's no way to make it show anything else.
Source code - https://gitlab.com/xonotic/xonotic-data.pk3dir/blob/master/qcsrc/server/command/vote.qc#L1117


RE: Help for custom voteble commands - KyMAN - 04-29-2018

Hello! How are you? A lot of thanks for your answers and sorry for late but I am working a lot now and can't do anything since I started to work.
Thanks for the links and explanations Lyberta and morosophos. I think I saw some of them and how you say, I can't do any print comments for the vote commands
Well, I try to go here more times, playing and have fun! Thank you!


RE: Help for custom voteble commands - morosophos - 05-01-2018

(04-29-2018, 03:55 AM)KyMAN Wrote: Hello! How are you? A lot of thanks for your answers and sorry for late but I am working a lot now and can't do anything since I started to work.
Thanks for the links and explanations Lyberta and morosophos. I think I saw some of them and how you say, I can't do any print comments for the vote commands
Well, I try to go here more times, playing and have fun! Thank you!

You need to use the latest autobuild or git build for this.

https://gitlab.com/xonotic/xonotic/wikis/Repository_Access
https://gitlab.com/xonotic/xonotic/wikis/Autobuilds