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.
Quote from: Death On IceAlready 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.
Quote from: kevlarmanto 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)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://www.mercenariesguild.net/patches/?do=details&task_id=100
Quote from: AmanieuI 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
Quote from: benmachineQuote from: AmanieuI 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
UR
L, not I
Quote from: Death On IceI'm in ur post, fixin ur spellings
URL, not I
FYI, a
URL is a type of
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
Quote from: Death On IceYou should have said it too, Undeference
I'm in ur post, fixin ur errors
Quote from: benmachineQuote from: Death On IceYou should have said it too, Undeference
I'm in ur post, fixin ur errors