Raised This Month: $ Target: $400
 0% 

custom commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ichthys
Veteran Member
Join Date: Dec 2004
Location: []*[]
Old 01-07-2005 , 18:16   custom commands
Reply With Quote #1

user customized commands?

I've been trying to do this with alias'/scripts but they cant take any input (unless anyone knows how to use alias'/scripts with parameters )
ichthys is offline
YankeeDeuce
Member
Join Date: Dec 2004
Old 01-07-2005 , 20:56  
Reply With Quote #2

What do you want to do? I don't really understand your question. What input do you want?
__________________
www.strafeRight.com
#strafeRight @ irc.gamesurge.net
YankeeDeuce is offline
ichthys
Veteran Member
Join Date: Dec 2004
Location: []*[]
Old 01-07-2005 , 21:03  
Reply With Quote #3

e.g of concept.

say "my sensitivity is " $sensitivity

takes a cvar and puts it into a command.

Something that i want to use this to do is perform multiple admin commands on a client without having to type out each command.

i first thought of an alias with parameters but then thought of just using a cvar with setinfo to make my own cvars.

so i would set a cvar to the name of the player i want and then run the alias/script.
ichthys is offline
imported_kalel
Junior Member
Join Date: Nov 2004
Old 01-08-2005 , 02:11  
Reply With Quote #4

if you mean to set a cvar with alias simply type alias grav "rcon sv_gravity 300"

now any time you type grav in consol it would set gravity to 300 but you prob mean somthing more complacted then that?
imported_kalel is offline
ichthys
Veteran Member
Join Date: Dec 2004
Location: []*[]
Old 01-08-2005 , 17:50  
Reply With Quote #5

This is more of the thing i would like to be able to do.
Create a new cvar with the command 'setinfo mygravity'
mygravity 300
sv_gravity $mygravity

This example doesnt make much sense but it would have other uses.
ichthys is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode