Tremulous Forum
Community => Servers => Topic started by: sSopris on September 29, 2007, 11:13:10 pm
-
I'm trying to make !map a custom command because I don't have it but I don't know what to put in the tcmd file.
I have "map" but what do I put that will make the console use whatever the player inputs?
-
Already done. The patch is part of Lakitu7's qvm.
-
Already done. The patch is part of Lakitu7's qvm.
it's in svn >.>
-
Is there a way to have slap and layout commands but still keep Lakitu7's game.qvm?
His game.qvm doesn't have either of those.
-
Oooh, my bad. I must have not taken his pre-compiled qvm. I probably compiled SVN and used his patch >.>
-
Ok let me restate or repeat the question.
In a .tcmd file, can I type something in that will be a variable for whatever the player inputs or whichever player uses the command.
Example of a variable for player input in .tcmd file:
map <whatever map player types>
Input when using this command should look like:
!map karith2 or !map pulse_102
---------------
Example of a variable for player's name in .tcmd file:
m <name of player who uses the command>
Input when using this command should look like:
UnnamedPlayer: !description
(and then the server would message that player whatever someone wanted it to message)
Thank you, I appreciate your help so far
-
to do that you need a custom game.qvm, since g_admin [command] blocks can't take arguments. !map has already been implemented since around the same time as the rest of g_admin.
-
to do that you need a custom game.qvm, since g_admin [command] blocks can't take arguments. !map has already been implemented since around the same time as the rest of g_admin.
!map has actually only been around since tjw made his own layout system
(revision 886) (http://svn.icculus.org/tremulous?rev=886&view=rev)
although of course there's always been /callvote map niveus; !passvote
-
I created a patch which allows arguments to be passed to admin.dat commands:http://
http://www.mercenariesguild.net/patches/?do=details&task_id=100
-
I created a patch which allows arguments to be passed to admin.dat commands: http://www.mercenariesguild.net/patches/?do=details&task_id=100
I'm in ur post, fixin ur URIs
-
I created a patch which allows arguments to be passed to admin.dat commands: http://www.mercenariesguild.net/patches/?do=details&task_id=100
I'm in ur post, fixin ur URIs
I'm in ur post, fixin ur spellings
URL, not I
-
I'm in ur post, fixin ur spellings
URL, not I
FYI, a URL (http://en.wikipedia.org/wiki/URL) is a type of URI (http://en.wikipedia.org/wiki/URI). And then there are URNs... this is what you get when you let TBL participate on RFCs. (See "Relationship to URL and URN" on the URI article.)
30000 ninja edits!!!
-
Sorry, Just doing it for the continuation of the series.
You should have said it too, next_ghost
I'm in ur post, fixin ur errors
-
You should have said it too, Undeference
I'm in ur post, fixin ur errors
-
You should have said it too, Undeference
I'm in ur post, fixin ur errors
(http://farm3.static.flickr.com/2226/1527350198_5872ba5f21_o.jpg)