PDA

View Full Version : MEDIC Script.


thelinx
28th February 2008, 10:46
Hello.
I've made this fast little script to scream for a medic, type "MEDIC!" in chat, and choose the medkit, at the same time.

Here it is:

alias medic_scr "say MEDIC!; wait; weapon_medkit; wait; medic"

Usage:

bind *key* medic_scr


Put in in your config.cfg, userconfig.cfg or the console, in-game.

liv3d
28th February 2008, 11:30
It doesn't need to be an alias, can be done straight as a key bind :)

Shame Sven doesn't support %h and %a :(

thelinx
28th February 2008, 13:50
As liv3d says, you can also just input this:
bind *key* "say MEDIC!; wait; weapon_medkit; wait; medic"

Also, what does %h and %a do?

liv3d
28th February 2008, 17:02
%h = health
%a = armour

Don't work in Sven anyways :(

AdamR
1st March 2008, 16:24
Go try it in tfc :) There is also %i

thelinx
2nd April 2008, 09:29
Is anyone using this? :>: