sTa.cfg download
flintheart loc files
flintheart loc files
// THIS CONFIG FILE WAS MADE BY FLINTHEART WITH HELP FROM EMPEZAR AND BARBRO. MODIFIED BY ANNI. LAST UPDATED 05-04-21.
// THE TOOK ALIASES WERE TAKEN FROM THE EQ260.CFG
// WORKS ONLY WITH FUHQUAKE VERSION 0.31 GET IT AT WWW.FUHQUAKE.NET
// WORKS BEST WITH FUHQUAKE LOC FILES, GET THEM AT http://maps.quakeworld.nu/locs ELSE SOME ALIAS WON'T WORK. PUT THEM IN "ID1/LOCS" OR "QW/LOCS" FOLDER.
// THE ONLY TWO THINGS YOU HAVE TO CHANGE IN THIS CONFIG IS THE "SET NICK" TO AN ABBREVATION OF YOUR NICK NAME.
// SECOND THING TO EDIT ARE ALL THE X-KEYS - WHICH BUTTON GOES TO WHAT ALIAS.
// WHEN THIS FILE IS EDITED AND SAVED PUT IT IN THE ID1-FOLDER, AND TYPE "exec teamsays.cfg", AND THEN "cfg_save [name of your fuhquake config file]".
// NB: YOU DON'T NEED ALL TEAMSAY BINDS AS THEY WILL TAKE UP A LOT OF KEYS, THE MOST ESSENTIAL ONES ARE THE FIRST 14!
// IF YOU DON'T WANT TO USE SOME BINDS, JUST LET XX STAY.
set nick "yournick" // the shortnick you use in your messages, usually 2-4 letters, e.g. "flt" is short for flintheart
bind xx _need // both "need" and "team powerup" button, try it yourself
bind xx _status // report
bind xx _lost // loc lost
bind xx _safe // loc safe
bind xx shownick;_point // e.g. "ra at ra-top" or "nmy at sng -> e:2"
bind xx _help // i'm dying help me! / trickjump and open tele at dm2 and discharge warning at dm3 water
bind xx _coming // coming from loc
bind xx _getpent // get pentagram of protection!
bind xx _switch // replace a location, u're leaving
bind xx _utake // you take
bind xx _enemypowerup // enemy quad
bind xx _soon // item soon spawns at loc
bind xx .getquad // get the 4x-damage-thingie!
bind xx .qdead // man or woman with quad dies
bind xx _breached // check out the alias-comment below to understand this bind
bind xx _smaps // check out the alias-comment below to understand this bind
bind xx _took // took blabla at blabla
bind xx _qstatus // quad status?
bind xx _getra // attack / get ra
bind xx _getya // attack / get ya
bind xx _getrl // attack / get rl
bind xx _posreport // position report
bind xx .borepack // the config says "dropped lg/rl" automaticly in 4on4 if you die with it and report lost, however if an enemy dies with rl in you, this bind is useful
bind xx .q10 // quad in 10 secs
bind xx .q30 // this is said automaticly when you have quad and it's wearing out, but it's sometimes good to have a separate bind too
bind xx .pent30 // pentagram in 30 secs
bind xx .pent15 // pentagram in 15 secs
bind xx .rldead // nmy rl down
bind xx .rlnmy // nmy rl at loc looking at
bind xx .attack // attack loc you died at
bind xx .cancel // cancel last order
// REST OF THE CONFIG IS OPTIONAL TO READ/UNDERSTAND, AND DO NOT ALTER ANYTHING BELOW! LONGER DESCRIPTIONS OF WHAT THE ALIAS DO ALSO FOLLOW BELOW!
//Teamplay Communications
tp_weapon_order "78653214"
//Match Tools (you can edit these a bit, but do it at own risk, some stuff might not work as they should...)
match_format_2on2 "2on2/%Oon%E_%t%v%e_%M_%y%m%d"
match_format_4on4 "4on4/%Oon%E_%t%v%e_%M_%y%m%d"
//Item Names
tp_name_axe "axe"
tp_name_sg "sg"
tp_name_ssg "ssg"
tp_name_ng "ng"
tp_name_sng "sng"
tp_name_gl "gl"
tp_name_rl "rl"
tp_name_lg "lg"
tp_name_ga "ga"
tp_name_ya "ya"
tp_name_ra "ra"
tp_name_armortype_ga "g"
tp_name_armortype_ya "y"
tp_name_armortype_ra "r"
tp_name_shells "shells"
tp_name_nails "nails"
tp_name_rockets "rox"
tp_name_cells "{cells}"
tp_name_quad "{QUAD}"
tp_name_pent "{PENT}"
tp_name_ring "{RING}"
tp_name_suit "suit"
tp_name_mh "mega"
tp_name_health "hth"
tp_name_armor "amr"
tp_name_weapon "wpn"
tp_name_backpack "pack"
tp_name_flag "{FLAG}"
tp_name_sentry "sentry"
tp_name_disp "dispenser"
tp_name_teammate ""
tp_name_enemy "nmy"
tp_name_eyes "EYES"
tp_name_quaded "QUADED"
tp_name_pented "PENTED"
tp_name_status_green "$G"
tp_name_status_yellow "$Y"
tp_name_status_red "$R"
tp_name_status_blue "$B"
tp_name_someplace "someplace"
tp_name_at " $d "
tp_name_nothing "nothing"
tp_name_none ""
tp_name_separator "$x20"
//Item Need Amounts
tp_need_rl "1"
tp_need_weapon "87"
tp_need_ga "65"
tp_need_ya "50"
tp_need_ra "40"
tp_need_shells "0"
tp_need_nails "0"
tp_need_rockets "5"
tp_need_cells "0"
tp_need_health "50"
// user created variables
set loc_name_ga "ga"
set loc_name_mh "mega"
set loc_name_ra "ra"
set loc_name_separator "-"
set loc_name_ya "ya"
set megaloc1 ""
set megaloc2 ""
set megaloc3 ""
set preweapons "$weapons"
set quad ""
set tp_automtimer "0"
set tp_autotook "0"
set tp_autotook_rockets "0"
// This is the auto-took script. Just advanced coding actually, nothing special to say :)
// It's configured so it reports various things on various maps. See map specifics down below for that.
// If you take a pack which contains rl, it says "took rl-pack", and it says "took lg-pack" if it contains shaft :) If you allready have rl or lg, it doesn't say anything. Use _manualtook for that, e.g. if you are guarding a pack but have to take it.
// If you take a powerup, it will say e.g. "team quad - need what u need". And when you die with quad, it says "quad killed" automaticly. If quad just worns out - it says "quad 30" which means quad in 30 seconds.
alias _took "if $qt$took$qt isin $qt$tp_name_quad/$tp_name_ring/$tp_name_pent$qt then _need else _took_nopow"
alias _took_nopow "if $qt$took$qt == $qt$tp_name_nothing$qt then else _took_rlpack"
alias _took_rlpack "if $qt$took$qt == $qt$tp_name_backpack$qt then _took_rlpack2 else .took"
alias _took_rlpack2 "if $bestweapon isin $tp_name_rl then .tookrlpack else .took"
alias .took "say_team $$nick ‰‰ took %X ‰‰ %Y"
alias .tookrlpack "say_team $$nick ‰‰ took rl-pack ‰‰ %Y"
// This is the report. If you don't have a weapon, only sg or ng, it doesn't reveal your weapon in the report - it's no meaning of telling u only have those weapons.
// And if you have lg with 10 cells or more, it will report that you have lg, like "r200/100 [loc] rlg:50". Else it just leaves out lg. However, if you are at quad, it always says your ammount of cells, even if you have 0.
// If you are standing at a rocket launcher in 4on4 with only sg/ng as best weapon, it will report your ammount of rockets - if you have any. Same with cells at a shaft-area (disabled in 2on2).
// Says "lost" if you accidently report while dead.
alias _status "if $health < 1 then _lost else _status0.5"
alias _status0.5 "if $tp_name_lg isin $qt$weapons$qt then _status2 else if $bestweapon = $qt$tp_name_sg$qt then _status3.5 else _status1"
alias _status1 "_rsp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .status1 else .status1.5; _lp"
alias _status2 "if quad isin $location then _statuswithlgtest else if $cells > 9 then _status3 else _status1"
alias _status3 "wait;if $bestweapon != $tp_name_rl then _status1 else _statuswithlg"
alias _status3.5 "if $qt$powerups$qt != $qt$tp_name_none$qt then _status4 else if $health > 100 then _status4 else _status4"
alias _status4 "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then _show_wptest else _show_wtest;_lp"
alias _statuswithlgtest "if quad isin $location then _testweaponstatus else _status"
alias _testweaponstatus "if $bestweapon = $tp_name_lg then _statusatquadlg else if $bestweapon = $tp_name_rl then _lgcheck else _rlonly"
alias _show_w "if rl isin $location then _show_w1 else if lg isin $location then _show_w2 else .statusnorl"
alias _show_w1 "if $rockets > 1 then .statusrox else .statusnorl"
alias _show_w2 "if $cells > 1 then .statuscells else .statusnorl"
alias _show_wp "if rl isin $location then _show_wp1 else if lg isin $location then _show_wp2 else .status2"
alias _show_wp1 "if $rockets > 1 then .statusqrox else .status2"
alias _show_wp2 "if $cells > 1 then .statusqcells else .status2"
alias _show_wptest "if 2on2 isin $qt$matchname$qt then .status2 else _show_wp"
alias _show_wtest "if 2on2 isin $qt$matchname$qt then .statusnorl else _show_w"
alias _statusatquad "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then .statusqwq else .statusq;wait;_lp"
alias _statusatquadlg "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then .statuslgq else .statuslg;wait;_lp"
alias _statuswithlg "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then .statusallq else .statusall;wait;_lp"
alias _lgcheck "if $tp_name_lg isin $qt$weapons$qt then _statusatquad else _rlonly"
alias _rlonly "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then .status1 else .status1.5 ;wait;_lp"
alias _sp ""
alias _lp ""
alias _rsp ""
alias .status1 "say_team $$nick $x20%p %A%a/%h {%l} %b"
alias .status1.5 "say_team $$nick $x20$x20 %A%a/%h {%l} %b"
alias .status2 "say_team $$nick $x20%p %A%a/%h {%l}"
alias .statusall "say_team $$nick $x20$x20 %A%a/%h {%l} rlg:$rockets"
alias .statusallq "say_team $$nick $x20%p %A%a/%h {%l} rlg:$rockets"
alias .statuscells "say_team $$nick $x20$x20 %A%a/%h {%l} cls:$cells"
alias .statuslg "say_team $$nick $x20$x20 %A%a/%h {%l} lg:$cells"
alias .statuslgq "say_team $$nick $x20%p %A%a/%h {%l} lg:$cells"
alias .statusnorl "say_team $$nick $x20$x20 %A%a/%h {%l}"
alias .statusq "say_team $$nick $x20$x20 %A%a/%h {%l} lg:$cells/%b"
alias .statusqcells "say_team $$nick $x20%p %A%a/%h {%l} cls:$cells"
alias .statusqrox "say_team $$nick $x20%p %A%a/%h {%l} rox:$rockets"
alias .statusqwq "say_team $$nick $x20%p %A%a/%h {%l} lg:$cells/%b"
alias .statusrox "say_team $$nick $x20$x20 %A%a/%h {%l} rox:$rockets"
// Get/attack some stuff! Like if you know it's spawning soon, or just attack the location... On dm2 _getya will become "get tele" instead. If map is e1m2 "get ra" will become "get mega". If map is dm2 "get rl" will become "get low-rl".
// It adds that you have a powerup in the beginning, if you have any.
alias _racheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getraq else .getra ; _lp"
alias _yacheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getyaq else .getya ; _lp"
alias _rlcheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getrlq else .getrl ; _lp"
alias _megacheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getmegaq else .getmega ; _lp"
alias _telecheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getteleq else .gettele ; _lp"
alias _lowrlcheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getlowrlq else .getlowrl ; _lp"
alias _getra "if $mapname = $qte1m2$qt then _megacheck else _racheck"
alias _getya "if $mapname = $qtdm2$qt then _telecheck else _yacheck"
alias _getrl "if $mapname = $qtdm2$qt then _lowrlcheck else _rlcheck"
alias .getra "say_team $$nick $x20$x20 get ra"
alias .getya "say_team $$nick $x20$x20 get ya"
alias .getrl "say_team $$nick $x20$x20 get rl"
alias .getmega "say_team $$nick $x20$x20 get mega"
alias .gettele "say_team $$nick $x20$x20 get tele"
alias .getlowrl "say_team $$nick $x20$x20 get low-rl"
alias .getraq "say_team $$nick $x20%p get ra"
alias .getyaq "say_team $$nick $x20%p get ya"
alias .getrlq "say_team $$nick $x20%p get rl"
alias .getmegaq "say_team $$nick $x20%p get mega"
alias .getteleq "say_team $$nick $x20%p get tele"
alias .getlowrlq "say_team $$nick $x20%p get low-rl"
// This is a kinda tricky alias. If you are standing at various locations on various maps, it reports different things :)
// Like if you are at quad on dm3, it says "nmy ra-tunnel". On the same button, if standing at rl, it says "nmy ya".
// On dm2, dm4, dm6 and e1m2, it says other stuff. See for your self :) Read the code or something hehe.
alias _breached "if $mapname = $qtdm6$qt then _slippeddm6 else if $mapname = $qtdm2$qt then _slippeddm2 else if $mapname = $qtdm3$qt then _slippeddm3 else if $mapname = $qte1m2$qt then _slippede1m2 else if $mapname = $qtdm4$qt then _slippeddm4"
alias _slippeddm2 "if $qtbig$qt isin $location then .ehigh else if $location = $qtlow-stairs$qt then .ebig else if $location = $qtra-mega$qt then .ebig else if $location = $qtlow-rl$qt then .esecret else if $location = $qtlow-button$qt then .ebig else if $location = $qttele-high$qt then .ebig else if $location = $qthigh-rl$qt then .ebig else if $location = $qtfloating$qt then .ebig else if $location = $qtgl$qt then .ebig else .eslipped"
alias _slippeddm3 "if $qthill$qt isin $location then .eratunnel else if $qtya$qt isin $location then .ewindow else if $qtbridge$qt isin $location then .eya else if $qtpent$qt isin $location then .elifts else if $qtsng$qt isin $location then .era else if $qtra$qt isin $location then .esng else if $qtwater$qt isin $location then .epent else if $location = $qtwindow$qt then .elifts else if $qtrl$qt isin $location then .eya else if $location = $qtring$qt then .era else if $location = $qtquad$qt then .eratunnel else .esng"
alias _slippeddm4 ".emega"
alias _slippeddm6 "if $qtgl$qt isin $location then .ebig else .egl"
alias _slippede1m2 "if $location = $qtssg$qt then .estart else if $qtspikes$qt isin $location then .eya else if ga isin $location then .estart else if $qtgl$qt isin $location then .eya else if $location = $qtya$qt then .estart else if $location = $qtya-top$qt then .estart else if $qtrl$qt isin $location then .estart else if $location = $qtbridge$qt then .estart else .emega"
alias .ebig "say_team $$nick ‡‡ NMY BIG ‡‡"
alias .egl "say_team $$nick ‡‡ NMY GL ‡‡"
alias .ehigh "say_team $$nick ‡‡ NMY HIGH ‡‡"
alias .elifts "say_team $$nick ‡‡ NMY LIFTS ‡‡"
alias .emega "say_team $$nick ‡‡ NMY MEGA ‡‡"
alias .epent "say_team $$nick ‡‡ NMY PENT ‡‡"
alias .eratunnel "say_team $$nick ‡‡ NMY RA-TUNNEL ‡‡"
alias .era "say_team $$nick ‡‡ NMY RA ‡‡"
alias .esecret "say_team $$nick ‡‡ NMY SECRET ‡‡"
alias .eslipped "say_team $$nick ‡‡ NMY SLIPPED ‡‡"
alias .esng "say_team $$nick ‡‡ NMY SNG ‡‡"
alias .estart "say_team $$nick ‡‡ NMY START/GA ‡‡"
alias .ewindow "say_team $$nick ‡‡ NMY WINDOW ‡‡"
alias .eya "say_team $$nick ‡‡ NMY YA ‡‡"
// Kinda same as above. It says "status (locations)" when you're standing at various places on various maps... And if you have quad, it always says the same (e.g. "armors status" at dm3).
alias _smaps "if $mapname = $qtdm2$qt then _sdm2 else if $mapname = $qtdm3$qt then _sdm3 else if $mapname = $qte1m2$qt then _se1m2"
alias _sdm3 "if $tp_name_quad isin $powerups then .armorss else if $qtlifts$qt isin $location then .sngs else if $qtya$qt isin $location then .quads else if $qtpent$qt isin $location then .armorss else if $qtsng$qt isin $location then .ras else if $qtra$qt isin $location then .qsngs else if $qtwater$qt isin $location then .pents else if $location = $qtwindow$qt then .quads else if $qtbridge$qt isin $location then .yas else if $qtrl$qt isin $location then .yas else if $qtring$qt isin $location then .ras else .ras"
alias _se1m2 "if $tp_name_quad isin $powerups then .glyas else if $qtmega$qt isin $location then .quads else if $qtquad$qt isin $location then .megastarts else if $location = $qtssg$qt then .yas else if $qtspikes$qt isin $location then .yas else if ga isin $location then .yas else if $qtgl$qt isin $location then .quads else if location = $qtya$qt then .quads else if $location = $qtya-top$qt then .quads else if $qtrl$qt isin $location then .megaqs else if $location = $qtbridge$qt then .yas else .quads"
alias _sdm2 "if $tp_name_quad isin $powerups then .lows else if $qtng$qt isin $location then .lows else if $qtquad$qt isin $location then .lows else if $qthigh$qt isin $location then .lows else .quads"
alias .megas "say_team $$nick $x20$x20 mega status"
alias .ras "say_team $$nick $x20$x20 ra status"
alias .teles "say_team $$nick $x20$x20 tele status"
alias .sngs "say_team $$nick $x20$x20 sng status"
alias .yas "say_team $$nick $x20$x20 ya status"
alias .qsngs "say_team $$nick $x20$x20 quad/sng status"
alias .quads "say_team $$nick $x20$x20 quad status"
alias .pents "say_team $$nick $x20$x20 pent status"
alias .armorss "say_team $$nick $x20$x20 armors status"
alias .lows "say_team $$nick $x20$x20 low status"
alias .megaqs "say_team $$nick $x20$x20 quad/mega status"
alias .glyas "say_team $$nick $x20$x20 ya/gl status"
alias .megastarts "say_team $$nick $x20$x20 mega/start status"
// COMING. Nothing special really, says your armor if you don't have rl, and have above 100 armor. Good to know for your mates if you are running for packs e.g.
// It reports that you have the rocket launcher if you have a certain ammount of health/rox/armor. Good to say when you're e.g. running for the quad, when mates with no weapons are pointing it.
// If you have a powerup it always says that.
// Says "lost" if you report while dead.
alias _coming "if $health < 1 then _lost else _coming1"
alias _coming1 "if $bestweapon != $qt$tp_name_rl$qt then _coming2 else _comingcheck"
alias _coming2 "if $armor > 99 then _comingqa else _comingq"
alias _coming3 "if $tp_name_rl isin $bestweapon then _coming4 else _comingq"
alias _coming4 "if $rockets > 4 then _coming5 else _comingq"
alias _coming5 "if $armor > 99 then _comingrlq else _comingq"
alias _comingq "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .comingq else .coming ; _lp"
alias _comingqa "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .comingaq else .cominga ; _lp"
alias _comingcheck "if $health > 64 then _coming3 else _comingq"
alias _comingrlq "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .comingrlq else .comingrl ; _lp"
alias .comingq "say_team $$nick $x20%p coming $d %l"
alias .coming "say_team $$nick $x20$x20 coming $d %l"
alias .cominga "say_team $$nick $x20$x20 coming $d %l %A%a"
alias .comingaq "say_team $$nick $x20%p coming $d %l %A%a"
alias .comingrlq "say_team $$nick $x20%p coming $d %l {rl}"
alias .comingrl "say_team $$nick $x20$x20 coming $d %l {rl}"
// The safe alias. Kinda like the report, shows that you have lg, if you have above 10 cells. And it does not show that you have sg or ng if that's your best weapon.
// If you are standing at quad-area it always shows your ammount of cells to your shaft, even if you have 0.
// Says "lost" if you report safe while dead.
alias _safe "if $health < 1 then _lost else _safeatquadt"
alias _safe1 "if $bestweapon = $qt$tp_name_sg$qt then .safe else _safe2"
alias _safe2 "if $tp_name_lg isin $qt$weapons$qt then _safe3 else .safew"
alias _safe3 "if $cells < 10 then .safew else _safe4"
alias _safe4 "if $bestweapon = $qt$tp_name_lg$qt then .safelg else .safeall"
alias _safeatquad1 "if $bestweapon = $tp_name_lg then .safew else _safeatquad2"
alias _safeatquad2 "if $tp_name_rl = $bestweapon then _safeatquad3 else .safew"
alias _safeatquad3 "if $tp_name_lg isin $qt$weapons$qt then .safeqall else .safew"
alias _safeatquadt "if $bestweapon = $tp_name_sg then _safe1 else if $qtquad$qt isin $location then _safeatquad1 else _safe1"
alias .safe "say_team $$nick ††%l ††%p"
alias .safew "say_team $$nick ††%l ††%b %p"
alias .safelg "say_team $$nick ††%l ††lg:$cells %p"
alias .safeall "say_team $$nick ††%l ††rlg:$rockets %p"
alias .safeqall "say_team $$nick ††%l ††lg:$cells/%b %p"
// The pointing. If you point at mate, it uses "shownick" which shows u the teammate's status, instead of saying "mate at loc". In prewar, this works on enemys too, but shows only their name. It's nice to see who you are fooling around with :)
// And if you point at enemy (in war of course) it says how many enemys there are in the vicinity too.
// If you point powerups it shows what you need after, if you need anything.
// And you can't point backpacks while you are lying dead on the ground, since you often do it by mistake when you want to point out enemys instead.
// Else it just shows items as normal; like "ra at ra-high".
alias _point "if standby isin $matchstatus then _point5 else if $health > 0 then _point4 else _point2"
alias _point2 "tp_point powerups armor players mh lg rl gl sng ssg ; _point3 ; tp_point powerups armor players mh lg rl gl sng ssg pack rockets"
alias _point3 "if $qt$point$qt = $qt$tp_name_nothing$qt then else if $ledpoint = $tp_name_status_green then else .pointdead"
alias _point4 "if $qt$point$qt = $qt$tp_name_nothing$qt then else if $ledpoint = $tp_name_status_red then .pointnmy else if $ledpoint = $tp_name_status_yellow then _point6 else if $ledpoint = $tp_name_status_green then else if $qt$point$qt = $qt$tp_name_backpack$qt then .pointpack else .pointnormal"
alias _point5 "if $qt$point$qt = $qt$tp_name_nothing$qt then else if $ledpoint = $tp_name_status_red then .pointnmy else if $ledpoint = $tp_name_status_yellow then _point6 else if $ledpoint = $tp_name_status_green then else if $qt$point$qt = $qt$tp_name_backpack$qt then .pointpack else .pointnormal"
alias _point6 "if $need = $qt$tp_name_nothing$qt then .pointpwp else .pointpwpn"
alias .pointnormal "say_team $$nick $x20$x20 {%x} $d %y"
alias .pointnmy "say_team $$nick $ledpoint$ledpoint {%x} $d %y $ledpoint$ledpoint e:%e"
alias .pointdead "say_team $$nick $ledpoint$ledpoint {%x} $d %y $ledpoint$ledpoint e:%E"
alias .pointpwp "say_team $$nick $ledpoint$ledpoint %x $d %y $ledpoint$ledpoint"
alias .pointpwpn "say_team $$nick $ledpoint$ledpoint %x $d %y $ledpoint$ledpoint need {%u}"
alias .pointpack "say_team $$nick ‰‰ {pack} $d %y"
// You take! If you are looking at mate, it says e.g. "dag take at loc", instead of just "u take at loc".
// If you are looking at cells or health while pressing the button, it says "u take loc cells" or health. Health and cells will get white so they are easier to see.
// Reason for the cells/health thingie to be in u-take is that it is disabled in the point script, since you often point it by mistake when you're about to point something else. U-take is more controlled.
alias _utake "tp_point +health +cells ; if $qt$point$qt isin $qt$tp_name_health$qt then .utake2 else _utake2 ; tp_point -cells -health"
alias _utake2 "if $qt$point$qt isin $qt$tp_name_cells$qt then .utake4 else if $ledpoint = $tp_name_status_green then .utake3 else .utake1"
alias .utake1 "say_team $$nick ˆˆ u take ˆˆ %l"
alias .utake2 "say_team $$nick ˆˆ u take ˆˆ %y {health}"
alias .utake3 "say_team $$nick ˆˆ %x take ˆˆ %l"
alias .utake4 "say_team $$nick ˆˆ u take ˆˆ %y %x"
// NEED-button. It does NOT say "need nothing" if you don't need anything, it's just blank instead. Avoids spam.
// It works as team-powerup alias too, if you have quad it will say like "team quad - need what you need" (blank if you don't need anything).
// Reports "lost" if you report while dead.
alias _need "if $health < 1 then _lost else _need1"
alias _need1 "if $qt$powerups$qt != $qt$tp_name_none$qt then _need2 else _need3"
alias _need2 "if $qt$need$qt == $qt$tp_name_nothing$qt then .teamp1 else .teamp2"
alias _need3 "if $qt$need$qt != $qt$tp_name_nothing$qt then .need"
alias .need "say_team $$nick ‰‰ need {%u} ‰‰ %l"
alias .teamp1 "say_team $$nick ††{TEAM} %p ††; say_team $$nick ††{TEAM} %p ††"
alias .teamp2 "say_team $$nick ††{TEAM} %p ††need {%u};say_team $$nick ††{TEAM} %p ††need {%u}"
// Helllpppp! Nothing special really. It just says "group loc" if you have rl and loaded with much armor, health and rockets. Nice at quad-area e.g.
// If you are at dm2 tele it says "open tele" and if you are at dm2 quad-low it says "trickjump"
// If you are at dm3 water it says "attention discharging"
alias _help "if $health < 1 then _lost else _help0"
alias _help0 "if $mapname = $qtdm2$qt then _help_trick_dm2 else if $mapname = $qtdm3$qt then _help_trick_dm3 else if $mapname = $qtcmt4$qt then _help_trick_cmt4 else _help1"
alias _help_trick_dm2 "if quad-low isin $location then .trick else if quad-button isin $location then .trick else if tele-ya isin $location then .open else if low-button isin $location then .open1 else _help1"
alias _help_trick_dm3 "if water isin $location then .discharge else _help1"
alias _help_trick_cmt4 "if pent isin $location then .open2 else _help1"
alias _help1 "if $health > 75 then _help2 else .help"
alias _help2 "if $armor > 140 then _help3 else .help"
alias _help3 "if $tp_name_rl isin $bestweapon then _help4 else .help"
alias _help4 "if $rockets > 7 then .group else .help"
alias .help "say_team $$nick $Y$Y {help} %l $Y$Y e:%e"
alias .group "say_team $$nick $Y$Y group %l $Y$Y"
alias .discharge "say_team $$nick ‡‡ discharge warning ‡‡"
alias .trick "say_team $$nick ˆˆ trickjump ˆˆ"
alias .open "say_team $$nick ˆˆ open tele ˆˆ"
alias .open1 "say_team $$nick ˆˆ open door $d {ra-mega} ˆˆ"
alias .open2 "say_team $$nick ˆˆ open pent gate ˆˆ"
// These say "quad 10", "quad 30", "pent 30" or "pent 15". The quad 30 thing is connected to auto-took-of-quad. When quad is worn out it says "quad 30".
// And .qdead is just that the quad-guy got owned :) Also connected to the auto-took-of-quad.
alias .q10 "say_team $$nick $x20$x20 quad $1$0"
alias .q30 "say_team $$nick $x20$x20 quad $3$0"
alias .pent30 "say_team $$nick $x20$x20 pent $3$0"
alias .pent15 "say_team $$nick $x20$x20 pent $1$5"
alias .qdead "say_team $$nick ††QUAD KILLED ††"
// Location is lost! If you die with rl or lg in hand in 4on4, it says "lost loc, dropped lg (or) rl".
alias _lost "if 4on4 isin $matchname then _lost1 else .lost"
alias _lost1 "if $qt$tp_name_rl$qt isin $weapon then .dropweapon else if $qt$tp_name_lg$qt isin $weapon then .dropweapon else .lost"
alias f_death "set droppedweapon $weapon"
alias .lost "say_team $$nick ‡‡ %L ‡‡ e:%E"
alias .dropweapon "say_team $$nick ‡‡ %L ‡‡ {dropped $weapon}"
// Says enemy's powerup. Default is quad. If you are dead and press the button, it says "killed by quad @ loc".
alias _enemypowerup "if $health > 0 .enemypowerup else .killedbyq"
alias .enemypowerup "say_team $$nick ‡‡ {ENEMY} %q ‡‡"
alias .killedbyq "say_team $$nick ‡‡ {killed by} %q ‡‡ %L"
// Get pentagram... says get eyes if you allready have the pent :)
alias _getpent ".getpent"
alias .getpent "say_team $$nick „„ get pent „„"
alias .getring "say_team $$nick ˆˆ get ring ˆˆ"
// You want to know where your mates are, adds powerups if you have any.
alias _posreport "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .posreportq else .posreport ; _lp"
alias .posreport "say_team $$nick $x20$x20 position report"
alias .posreportq "say_team $$nick $x20%p position report"
// Item soons spawns at the location you are at.
alias _soon "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .soonq else .soon ; _lp
alias .soon "say_team $$nick $x20$x20 soon %l"
alias .soonq "say_team $$nick $x20%p soon %l"
// Replace location... says "lost" if you use it while dead.
alias _switch "if $health < 1 then _lost else .switch"
alias .switch "say_team $$nick ˆˆ switch %l ˆˆ %p"
// If you want to know who has quad, where it is etc. Is quad safe?
alias _qstatus ".quads"
// Attack where u died... it's weak
alias .attack "say_team $$nick ˆˆ attack %L ˆˆ"
// You bore and leave pack. Connected with "_lost" alias.
// However, it's good to bind a button to this anyway, cause if you are in a fight and enemy bores... use this then.
alias .borepack "say_team $$nick ‡‡ {packs} %L ‡‡ e:%E"
// Cancel last order... if you are reporting something by mistake.
alias .cancel "say_team $$nick $x20$x20 cancel that"
// Get the 4x damage thingie!
alias .getquad "say_team $$nick ˆˆ get quad ˆˆ"
// You owned an enemy with rl!
alias .rldead "say_team $$nick ††{rl dead} ††%l"
// There is a rocket launcher enemy at the location looking at!
alias .rlnmy "say_team $$nick ‡‡ {rl nmy} ‡‡ %y"
// Teamplay commands
tp_pickup powerups armor mh lg rl gl sng ssg pack rockets
tp_took powerups armor mh lg rl gl sng ssg pack rockets
tp_point powerups armor players mh lg rl gl sng ssg pack rockets
// THE TOOK ALIASES WERE TAKEN FROM THE EQ260.CFG
// WORKS ONLY WITH FUHQUAKE VERSION 0.31 GET IT AT WWW.FUHQUAKE.NET
// WORKS BEST WITH FUHQUAKE LOC FILES, GET THEM AT http://maps.quakeworld.nu/locs ELSE SOME ALIAS WON'T WORK. PUT THEM IN "ID1/LOCS" OR "QW/LOCS" FOLDER.
// THE ONLY TWO THINGS YOU HAVE TO CHANGE IN THIS CONFIG IS THE "SET NICK" TO AN ABBREVATION OF YOUR NICK NAME.
// SECOND THING TO EDIT ARE ALL THE X-KEYS - WHICH BUTTON GOES TO WHAT ALIAS.
// WHEN THIS FILE IS EDITED AND SAVED PUT IT IN THE ID1-FOLDER, AND TYPE "exec teamsays.cfg", AND THEN "cfg_save [name of your fuhquake config file]".
// NB: YOU DON'T NEED ALL TEAMSAY BINDS AS THEY WILL TAKE UP A LOT OF KEYS, THE MOST ESSENTIAL ONES ARE THE FIRST 14!
// IF YOU DON'T WANT TO USE SOME BINDS, JUST LET XX STAY.
set nick "yournick" // the shortnick you use in your messages, usually 2-4 letters, e.g. "flt" is short for flintheart
bind xx _need // both "need" and "team powerup" button, try it yourself
bind xx _status // report
bind xx _lost // loc lost
bind xx _safe // loc safe
bind xx shownick;_point // e.g. "ra at ra-top" or "nmy at sng -> e:2"
bind xx _help // i'm dying help me! / trickjump and open tele at dm2 and discharge warning at dm3 water
bind xx _coming // coming from loc
bind xx _getpent // get pentagram of protection!
bind xx _switch // replace a location, u're leaving
bind xx _utake // you take
bind xx _enemypowerup // enemy quad
bind xx _soon // item soon spawns at loc
bind xx .getquad // get the 4x-damage-thingie!
bind xx .qdead // man or woman with quad dies
bind xx _breached // check out the alias-comment below to understand this bind
bind xx _smaps // check out the alias-comment below to understand this bind
bind xx _took // took blabla at blabla
bind xx _qstatus // quad status?
bind xx _getra // attack / get ra
bind xx _getya // attack / get ya
bind xx _getrl // attack / get rl
bind xx _posreport // position report
bind xx .borepack // the config says "dropped lg/rl" automaticly in 4on4 if you die with it and report lost, however if an enemy dies with rl in you, this bind is useful
bind xx .q10 // quad in 10 secs
bind xx .q30 // this is said automaticly when you have quad and it's wearing out, but it's sometimes good to have a separate bind too
bind xx .pent30 // pentagram in 30 secs
bind xx .pent15 // pentagram in 15 secs
bind xx .rldead // nmy rl down
bind xx .rlnmy // nmy rl at loc looking at
bind xx .attack // attack loc you died at
bind xx .cancel // cancel last order
// REST OF THE CONFIG IS OPTIONAL TO READ/UNDERSTAND, AND DO NOT ALTER ANYTHING BELOW! LONGER DESCRIPTIONS OF WHAT THE ALIAS DO ALSO FOLLOW BELOW!
//Teamplay Communications
tp_weapon_order "78653214"
//Match Tools (you can edit these a bit, but do it at own risk, some stuff might not work as they should...)
match_format_2on2 "2on2/%Oon%E_%t%v%e_%M_%y%m%d"
match_format_4on4 "4on4/%Oon%E_%t%v%e_%M_%y%m%d"
//Item Names
tp_name_axe "axe"
tp_name_sg "sg"
tp_name_ssg "ssg"
tp_name_ng "ng"
tp_name_sng "sng"
tp_name_gl "gl"
tp_name_rl "rl"
tp_name_lg "lg"
tp_name_ga "ga"
tp_name_ya "ya"
tp_name_ra "ra"
tp_name_armortype_ga "g"
tp_name_armortype_ya "y"
tp_name_armortype_ra "r"
tp_name_shells "shells"
tp_name_nails "nails"
tp_name_rockets "rox"
tp_name_cells "{cells}"
tp_name_quad "{QUAD}"
tp_name_pent "{PENT}"
tp_name_ring "{RING}"
tp_name_suit "suit"
tp_name_mh "mega"
tp_name_health "hth"
tp_name_armor "amr"
tp_name_weapon "wpn"
tp_name_backpack "pack"
tp_name_flag "{FLAG}"
tp_name_sentry "sentry"
tp_name_disp "dispenser"
tp_name_teammate ""
tp_name_enemy "nmy"
tp_name_eyes "EYES"
tp_name_quaded "QUADED"
tp_name_pented "PENTED"
tp_name_status_green "$G"
tp_name_status_yellow "$Y"
tp_name_status_red "$R"
tp_name_status_blue "$B"
tp_name_someplace "someplace"
tp_name_at " $d "
tp_name_nothing "nothing"
tp_name_none ""
tp_name_separator "$x20"
//Item Need Amounts
tp_need_rl "1"
tp_need_weapon "87"
tp_need_ga "65"
tp_need_ya "50"
tp_need_ra "40"
tp_need_shells "0"
tp_need_nails "0"
tp_need_rockets "5"
tp_need_cells "0"
tp_need_health "50"
// user created variables
set loc_name_ga "ga"
set loc_name_mh "mega"
set loc_name_ra "ra"
set loc_name_separator "-"
set loc_name_ya "ya"
set megaloc1 ""
set megaloc2 ""
set megaloc3 ""
set preweapons "$weapons"
set quad ""
set tp_automtimer "0"
set tp_autotook "0"
set tp_autotook_rockets "0"
// This is the auto-took script. Just advanced coding actually, nothing special to say :)
// It's configured so it reports various things on various maps. See map specifics down below for that.
// If you take a pack which contains rl, it says "took rl-pack", and it says "took lg-pack" if it contains shaft :) If you allready have rl or lg, it doesn't say anything. Use _manualtook for that, e.g. if you are guarding a pack but have to take it.
// If you take a powerup, it will say e.g. "team quad - need what u need". And when you die with quad, it says "quad killed" automaticly. If quad just worns out - it says "quad 30" which means quad in 30 seconds.
alias _took "if $qt$took$qt isin $qt$tp_name_quad/$tp_name_ring/$tp_name_pent$qt then _need else _took_nopow"
alias _took_nopow "if $qt$took$qt == $qt$tp_name_nothing$qt then else _took_rlpack"
alias _took_rlpack "if $qt$took$qt == $qt$tp_name_backpack$qt then _took_rlpack2 else .took"
alias _took_rlpack2 "if $bestweapon isin $tp_name_rl then .tookrlpack else .took"
alias .took "say_team $$nick ‰‰ took %X ‰‰ %Y"
alias .tookrlpack "say_team $$nick ‰‰ took rl-pack ‰‰ %Y"
// This is the report. If you don't have a weapon, only sg or ng, it doesn't reveal your weapon in the report - it's no meaning of telling u only have those weapons.
// And if you have lg with 10 cells or more, it will report that you have lg, like "r200/100 [loc] rlg:50". Else it just leaves out lg. However, if you are at quad, it always says your ammount of cells, even if you have 0.
// If you are standing at a rocket launcher in 4on4 with only sg/ng as best weapon, it will report your ammount of rockets - if you have any. Same with cells at a shaft-area (disabled in 2on2).
// Says "lost" if you accidently report while dead.
alias _status "if $health < 1 then _lost else _status0.5"
alias _status0.5 "if $tp_name_lg isin $qt$weapons$qt then _status2 else if $bestweapon = $qt$tp_name_sg$qt then _status3.5 else _status1"
alias _status1 "_rsp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .status1 else .status1.5; _lp"
alias _status2 "if quad isin $location then _statuswithlgtest else if $cells > 9 then _status3 else _status1"
alias _status3 "wait;if $bestweapon != $tp_name_rl then _status1 else _statuswithlg"
alias _status3.5 "if $qt$powerups$qt != $qt$tp_name_none$qt then _status4 else if $health > 100 then _status4 else _status4"
alias _status4 "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then _show_wptest else _show_wtest;_lp"
alias _statuswithlgtest "if quad isin $location then _testweaponstatus else _status"
alias _testweaponstatus "if $bestweapon = $tp_name_lg then _statusatquadlg else if $bestweapon = $tp_name_rl then _lgcheck else _rlonly"
alias _show_w "if rl isin $location then _show_w1 else if lg isin $location then _show_w2 else .statusnorl"
alias _show_w1 "if $rockets > 1 then .statusrox else .statusnorl"
alias _show_w2 "if $cells > 1 then .statuscells else .statusnorl"
alias _show_wp "if rl isin $location then _show_wp1 else if lg isin $location then _show_wp2 else .status2"
alias _show_wp1 "if $rockets > 1 then .statusqrox else .status2"
alias _show_wp2 "if $cells > 1 then .statusqcells else .status2"
alias _show_wptest "if 2on2 isin $qt$matchname$qt then .status2 else _show_wp"
alias _show_wtest "if 2on2 isin $qt$matchname$qt then .statusnorl else _show_w"
alias _statusatquad "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then .statusqwq else .statusq;wait;_lp"
alias _statusatquadlg "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then .statuslgq else .statuslg;wait;_lp"
alias _statuswithlg "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then .statusallq else .statusall;wait;_lp"
alias _lgcheck "if $tp_name_lg isin $qt$weapons$qt then _statusatquad else _rlonly"
alias _rlonly "wait;_rsp;if $qt$powerups$qt != $qt$tp_name_none$qt then .status1 else .status1.5 ;wait;_lp"
alias _sp ""
alias _lp ""
alias _rsp ""
alias .status1 "say_team $$nick $x20%p %A%a/%h {%l} %b"
alias .status1.5 "say_team $$nick $x20$x20 %A%a/%h {%l} %b"
alias .status2 "say_team $$nick $x20%p %A%a/%h {%l}"
alias .statusall "say_team $$nick $x20$x20 %A%a/%h {%l} rlg:$rockets"
alias .statusallq "say_team $$nick $x20%p %A%a/%h {%l} rlg:$rockets"
alias .statuscells "say_team $$nick $x20$x20 %A%a/%h {%l} cls:$cells"
alias .statuslg "say_team $$nick $x20$x20 %A%a/%h {%l} lg:$cells"
alias .statuslgq "say_team $$nick $x20%p %A%a/%h {%l} lg:$cells"
alias .statusnorl "say_team $$nick $x20$x20 %A%a/%h {%l}"
alias .statusq "say_team $$nick $x20$x20 %A%a/%h {%l} lg:$cells/%b"
alias .statusqcells "say_team $$nick $x20%p %A%a/%h {%l} cls:$cells"
alias .statusqrox "say_team $$nick $x20%p %A%a/%h {%l} rox:$rockets"
alias .statusqwq "say_team $$nick $x20%p %A%a/%h {%l} lg:$cells/%b"
alias .statusrox "say_team $$nick $x20$x20 %A%a/%h {%l} rox:$rockets"
// Get/attack some stuff! Like if you know it's spawning soon, or just attack the location... On dm2 _getya will become "get tele" instead. If map is e1m2 "get ra" will become "get mega". If map is dm2 "get rl" will become "get low-rl".
// It adds that you have a powerup in the beginning, if you have any.
alias _racheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getraq else .getra ; _lp"
alias _yacheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getyaq else .getya ; _lp"
alias _rlcheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getrlq else .getrl ; _lp"
alias _megacheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getmegaq else .getmega ; _lp"
alias _telecheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getteleq else .gettele ; _lp"
alias _lowrlcheck "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .getlowrlq else .getlowrl ; _lp"
alias _getra "if $mapname = $qte1m2$qt then _megacheck else _racheck"
alias _getya "if $mapname = $qtdm2$qt then _telecheck else _yacheck"
alias _getrl "if $mapname = $qtdm2$qt then _lowrlcheck else _rlcheck"
alias .getra "say_team $$nick $x20$x20 get ra"
alias .getya "say_team $$nick $x20$x20 get ya"
alias .getrl "say_team $$nick $x20$x20 get rl"
alias .getmega "say_team $$nick $x20$x20 get mega"
alias .gettele "say_team $$nick $x20$x20 get tele"
alias .getlowrl "say_team $$nick $x20$x20 get low-rl"
alias .getraq "say_team $$nick $x20%p get ra"
alias .getyaq "say_team $$nick $x20%p get ya"
alias .getrlq "say_team $$nick $x20%p get rl"
alias .getmegaq "say_team $$nick $x20%p get mega"
alias .getteleq "say_team $$nick $x20%p get tele"
alias .getlowrlq "say_team $$nick $x20%p get low-rl"
// This is a kinda tricky alias. If you are standing at various locations on various maps, it reports different things :)
// Like if you are at quad on dm3, it says "nmy ra-tunnel". On the same button, if standing at rl, it says "nmy ya".
// On dm2, dm4, dm6 and e1m2, it says other stuff. See for your self :) Read the code or something hehe.
alias _breached "if $mapname = $qtdm6$qt then _slippeddm6 else if $mapname = $qtdm2$qt then _slippeddm2 else if $mapname = $qtdm3$qt then _slippeddm3 else if $mapname = $qte1m2$qt then _slippede1m2 else if $mapname = $qtdm4$qt then _slippeddm4"
alias _slippeddm2 "if $qtbig$qt isin $location then .ehigh else if $location = $qtlow-stairs$qt then .ebig else if $location = $qtra-mega$qt then .ebig else if $location = $qtlow-rl$qt then .esecret else if $location = $qtlow-button$qt then .ebig else if $location = $qttele-high$qt then .ebig else if $location = $qthigh-rl$qt then .ebig else if $location = $qtfloating$qt then .ebig else if $location = $qtgl$qt then .ebig else .eslipped"
alias _slippeddm3 "if $qthill$qt isin $location then .eratunnel else if $qtya$qt isin $location then .ewindow else if $qtbridge$qt isin $location then .eya else if $qtpent$qt isin $location then .elifts else if $qtsng$qt isin $location then .era else if $qtra$qt isin $location then .esng else if $qtwater$qt isin $location then .epent else if $location = $qtwindow$qt then .elifts else if $qtrl$qt isin $location then .eya else if $location = $qtring$qt then .era else if $location = $qtquad$qt then .eratunnel else .esng"
alias _slippeddm4 ".emega"
alias _slippeddm6 "if $qtgl$qt isin $location then .ebig else .egl"
alias _slippede1m2 "if $location = $qtssg$qt then .estart else if $qtspikes$qt isin $location then .eya else if ga isin $location then .estart else if $qtgl$qt isin $location then .eya else if $location = $qtya$qt then .estart else if $location = $qtya-top$qt then .estart else if $qtrl$qt isin $location then .estart else if $location = $qtbridge$qt then .estart else .emega"
alias .ebig "say_team $$nick ‡‡ NMY BIG ‡‡"
alias .egl "say_team $$nick ‡‡ NMY GL ‡‡"
alias .ehigh "say_team $$nick ‡‡ NMY HIGH ‡‡"
alias .elifts "say_team $$nick ‡‡ NMY LIFTS ‡‡"
alias .emega "say_team $$nick ‡‡ NMY MEGA ‡‡"
alias .epent "say_team $$nick ‡‡ NMY PENT ‡‡"
alias .eratunnel "say_team $$nick ‡‡ NMY RA-TUNNEL ‡‡"
alias .era "say_team $$nick ‡‡ NMY RA ‡‡"
alias .esecret "say_team $$nick ‡‡ NMY SECRET ‡‡"
alias .eslipped "say_team $$nick ‡‡ NMY SLIPPED ‡‡"
alias .esng "say_team $$nick ‡‡ NMY SNG ‡‡"
alias .estart "say_team $$nick ‡‡ NMY START/GA ‡‡"
alias .ewindow "say_team $$nick ‡‡ NMY WINDOW ‡‡"
alias .eya "say_team $$nick ‡‡ NMY YA ‡‡"
// Kinda same as above. It says "status (locations)" when you're standing at various places on various maps... And if you have quad, it always says the same (e.g. "armors status" at dm3).
alias _smaps "if $mapname = $qtdm2$qt then _sdm2 else if $mapname = $qtdm3$qt then _sdm3 else if $mapname = $qte1m2$qt then _se1m2"
alias _sdm3 "if $tp_name_quad isin $powerups then .armorss else if $qtlifts$qt isin $location then .sngs else if $qtya$qt isin $location then .quads else if $qtpent$qt isin $location then .armorss else if $qtsng$qt isin $location then .ras else if $qtra$qt isin $location then .qsngs else if $qtwater$qt isin $location then .pents else if $location = $qtwindow$qt then .quads else if $qtbridge$qt isin $location then .yas else if $qtrl$qt isin $location then .yas else if $qtring$qt isin $location then .ras else .ras"
alias _se1m2 "if $tp_name_quad isin $powerups then .glyas else if $qtmega$qt isin $location then .quads else if $qtquad$qt isin $location then .megastarts else if $location = $qtssg$qt then .yas else if $qtspikes$qt isin $location then .yas else if ga isin $location then .yas else if $qtgl$qt isin $location then .quads else if location = $qtya$qt then .quads else if $location = $qtya-top$qt then .quads else if $qtrl$qt isin $location then .megaqs else if $location = $qtbridge$qt then .yas else .quads"
alias _sdm2 "if $tp_name_quad isin $powerups then .lows else if $qtng$qt isin $location then .lows else if $qtquad$qt isin $location then .lows else if $qthigh$qt isin $location then .lows else .quads"
alias .megas "say_team $$nick $x20$x20 mega status"
alias .ras "say_team $$nick $x20$x20 ra status"
alias .teles "say_team $$nick $x20$x20 tele status"
alias .sngs "say_team $$nick $x20$x20 sng status"
alias .yas "say_team $$nick $x20$x20 ya status"
alias .qsngs "say_team $$nick $x20$x20 quad/sng status"
alias .quads "say_team $$nick $x20$x20 quad status"
alias .pents "say_team $$nick $x20$x20 pent status"
alias .armorss "say_team $$nick $x20$x20 armors status"
alias .lows "say_team $$nick $x20$x20 low status"
alias .megaqs "say_team $$nick $x20$x20 quad/mega status"
alias .glyas "say_team $$nick $x20$x20 ya/gl status"
alias .megastarts "say_team $$nick $x20$x20 mega/start status"
// COMING. Nothing special really, says your armor if you don't have rl, and have above 100 armor. Good to know for your mates if you are running for packs e.g.
// It reports that you have the rocket launcher if you have a certain ammount of health/rox/armor. Good to say when you're e.g. running for the quad, when mates with no weapons are pointing it.
// If you have a powerup it always says that.
// Says "lost" if you report while dead.
alias _coming "if $health < 1 then _lost else _coming1"
alias _coming1 "if $bestweapon != $qt$tp_name_rl$qt then _coming2 else _comingcheck"
alias _coming2 "if $armor > 99 then _comingqa else _comingq"
alias _coming3 "if $tp_name_rl isin $bestweapon then _coming4 else _comingq"
alias _coming4 "if $rockets > 4 then _coming5 else _comingq"
alias _coming5 "if $armor > 99 then _comingrlq else _comingq"
alias _comingq "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .comingq else .coming ; _lp"
alias _comingqa "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .comingaq else .cominga ; _lp"
alias _comingcheck "if $health > 64 then _coming3 else _comingq"
alias _comingrlq "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .comingrlq else .comingrl ; _lp"
alias .comingq "say_team $$nick $x20%p coming $d %l"
alias .coming "say_team $$nick $x20$x20 coming $d %l"
alias .cominga "say_team $$nick $x20$x20 coming $d %l %A%a"
alias .comingaq "say_team $$nick $x20%p coming $d %l %A%a"
alias .comingrlq "say_team $$nick $x20%p coming $d %l {rl}"
alias .comingrl "say_team $$nick $x20$x20 coming $d %l {rl}"
// The safe alias. Kinda like the report, shows that you have lg, if you have above 10 cells. And it does not show that you have sg or ng if that's your best weapon.
// If you are standing at quad-area it always shows your ammount of cells to your shaft, even if you have 0.
// Says "lost" if you report safe while dead.
alias _safe "if $health < 1 then _lost else _safeatquadt"
alias _safe1 "if $bestweapon = $qt$tp_name_sg$qt then .safe else _safe2"
alias _safe2 "if $tp_name_lg isin $qt$weapons$qt then _safe3 else .safew"
alias _safe3 "if $cells < 10 then .safew else _safe4"
alias _safe4 "if $bestweapon = $qt$tp_name_lg$qt then .safelg else .safeall"
alias _safeatquad1 "if $bestweapon = $tp_name_lg then .safew else _safeatquad2"
alias _safeatquad2 "if $tp_name_rl = $bestweapon then _safeatquad3 else .safew"
alias _safeatquad3 "if $tp_name_lg isin $qt$weapons$qt then .safeqall else .safew"
alias _safeatquadt "if $bestweapon = $tp_name_sg then _safe1 else if $qtquad$qt isin $location then _safeatquad1 else _safe1"
alias .safe "say_team $$nick ††%l ††%p"
alias .safew "say_team $$nick ††%l ††%b %p"
alias .safelg "say_team $$nick ††%l ††lg:$cells %p"
alias .safeall "say_team $$nick ††%l ††rlg:$rockets %p"
alias .safeqall "say_team $$nick ††%l ††lg:$cells/%b %p"
// The pointing. If you point at mate, it uses "shownick" which shows u the teammate's status, instead of saying "mate at loc". In prewar, this works on enemys too, but shows only their name. It's nice to see who you are fooling around with :)
// And if you point at enemy (in war of course) it says how many enemys there are in the vicinity too.
// If you point powerups it shows what you need after, if you need anything.
// And you can't point backpacks while you are lying dead on the ground, since you often do it by mistake when you want to point out enemys instead.
// Else it just shows items as normal; like "ra at ra-high".
alias _point "if standby isin $matchstatus then _point5 else if $health > 0 then _point4 else _point2"
alias _point2 "tp_point powerups armor players mh lg rl gl sng ssg ; _point3 ; tp_point powerups armor players mh lg rl gl sng ssg pack rockets"
alias _point3 "if $qt$point$qt = $qt$tp_name_nothing$qt then else if $ledpoint = $tp_name_status_green then else .pointdead"
alias _point4 "if $qt$point$qt = $qt$tp_name_nothing$qt then else if $ledpoint = $tp_name_status_red then .pointnmy else if $ledpoint = $tp_name_status_yellow then _point6 else if $ledpoint = $tp_name_status_green then else if $qt$point$qt = $qt$tp_name_backpack$qt then .pointpack else .pointnormal"
alias _point5 "if $qt$point$qt = $qt$tp_name_nothing$qt then else if $ledpoint = $tp_name_status_red then .pointnmy else if $ledpoint = $tp_name_status_yellow then _point6 else if $ledpoint = $tp_name_status_green then else if $qt$point$qt = $qt$tp_name_backpack$qt then .pointpack else .pointnormal"
alias _point6 "if $need = $qt$tp_name_nothing$qt then .pointpwp else .pointpwpn"
alias .pointnormal "say_team $$nick $x20$x20 {%x} $d %y"
alias .pointnmy "say_team $$nick $ledpoint$ledpoint {%x} $d %y $ledpoint$ledpoint e:%e"
alias .pointdead "say_team $$nick $ledpoint$ledpoint {%x} $d %y $ledpoint$ledpoint e:%E"
alias .pointpwp "say_team $$nick $ledpoint$ledpoint %x $d %y $ledpoint$ledpoint"
alias .pointpwpn "say_team $$nick $ledpoint$ledpoint %x $d %y $ledpoint$ledpoint need {%u}"
alias .pointpack "say_team $$nick ‰‰ {pack} $d %y"
// You take! If you are looking at mate, it says e.g. "dag take at loc", instead of just "u take at loc".
// If you are looking at cells or health while pressing the button, it says "u take loc cells" or health. Health and cells will get white so they are easier to see.
// Reason for the cells/health thingie to be in u-take is that it is disabled in the point script, since you often point it by mistake when you're about to point something else. U-take is more controlled.
alias _utake "tp_point +health +cells ; if $qt$point$qt isin $qt$tp_name_health$qt then .utake2 else _utake2 ; tp_point -cells -health"
alias _utake2 "if $qt$point$qt isin $qt$tp_name_cells$qt then .utake4 else if $ledpoint = $tp_name_status_green then .utake3 else .utake1"
alias .utake1 "say_team $$nick ˆˆ u take ˆˆ %l"
alias .utake2 "say_team $$nick ˆˆ u take ˆˆ %y {health}"
alias .utake3 "say_team $$nick ˆˆ %x take ˆˆ %l"
alias .utake4 "say_team $$nick ˆˆ u take ˆˆ %y %x"
// NEED-button. It does NOT say "need nothing" if you don't need anything, it's just blank instead. Avoids spam.
// It works as team-powerup alias too, if you have quad it will say like "team quad - need what you need" (blank if you don't need anything).
// Reports "lost" if you report while dead.
alias _need "if $health < 1 then _lost else _need1"
alias _need1 "if $qt$powerups$qt != $qt$tp_name_none$qt then _need2 else _need3"
alias _need2 "if $qt$need$qt == $qt$tp_name_nothing$qt then .teamp1 else .teamp2"
alias _need3 "if $qt$need$qt != $qt$tp_name_nothing$qt then .need"
alias .need "say_team $$nick ‰‰ need {%u} ‰‰ %l"
alias .teamp1 "say_team $$nick ††{TEAM} %p ††; say_team $$nick ††{TEAM} %p ††"
alias .teamp2 "say_team $$nick ††{TEAM} %p ††need {%u};say_team $$nick ††{TEAM} %p ††need {%u}"
// Helllpppp! Nothing special really. It just says "group loc" if you have rl and loaded with much armor, health and rockets. Nice at quad-area e.g.
// If you are at dm2 tele it says "open tele" and if you are at dm2 quad-low it says "trickjump"
// If you are at dm3 water it says "attention discharging"
alias _help "if $health < 1 then _lost else _help0"
alias _help0 "if $mapname = $qtdm2$qt then _help_trick_dm2 else if $mapname = $qtdm3$qt then _help_trick_dm3 else if $mapname = $qtcmt4$qt then _help_trick_cmt4 else _help1"
alias _help_trick_dm2 "if quad-low isin $location then .trick else if quad-button isin $location then .trick else if tele-ya isin $location then .open else if low-button isin $location then .open1 else _help1"
alias _help_trick_dm3 "if water isin $location then .discharge else _help1"
alias _help_trick_cmt4 "if pent isin $location then .open2 else _help1"
alias _help1 "if $health > 75 then _help2 else .help"
alias _help2 "if $armor > 140 then _help3 else .help"
alias _help3 "if $tp_name_rl isin $bestweapon then _help4 else .help"
alias _help4 "if $rockets > 7 then .group else .help"
alias .help "say_team $$nick $Y$Y {help} %l $Y$Y e:%e"
alias .group "say_team $$nick $Y$Y group %l $Y$Y"
alias .discharge "say_team $$nick ‡‡ discharge warning ‡‡"
alias .trick "say_team $$nick ˆˆ trickjump ˆˆ"
alias .open "say_team $$nick ˆˆ open tele ˆˆ"
alias .open1 "say_team $$nick ˆˆ open door $d {ra-mega} ˆˆ"
alias .open2 "say_team $$nick ˆˆ open pent gate ˆˆ"
// These say "quad 10", "quad 30", "pent 30" or "pent 15". The quad 30 thing is connected to auto-took-of-quad. When quad is worn out it says "quad 30".
// And .qdead is just that the quad-guy got owned :) Also connected to the auto-took-of-quad.
alias .q10 "say_team $$nick $x20$x20 quad $1$0"
alias .q30 "say_team $$nick $x20$x20 quad $3$0"
alias .pent30 "say_team $$nick $x20$x20 pent $3$0"
alias .pent15 "say_team $$nick $x20$x20 pent $1$5"
alias .qdead "say_team $$nick ††QUAD KILLED ††"
// Location is lost! If you die with rl or lg in hand in 4on4, it says "lost loc, dropped lg (or) rl".
alias _lost "if 4on4 isin $matchname then _lost1 else .lost"
alias _lost1 "if $qt$tp_name_rl$qt isin $weapon then .dropweapon else if $qt$tp_name_lg$qt isin $weapon then .dropweapon else .lost"
alias f_death "set droppedweapon $weapon"
alias .lost "say_team $$nick ‡‡ %L ‡‡ e:%E"
alias .dropweapon "say_team $$nick ‡‡ %L ‡‡ {dropped $weapon}"
// Says enemy's powerup. Default is quad. If you are dead and press the button, it says "killed by quad @ loc".
alias _enemypowerup "if $health > 0 .enemypowerup else .killedbyq"
alias .enemypowerup "say_team $$nick ‡‡ {ENEMY} %q ‡‡"
alias .killedbyq "say_team $$nick ‡‡ {killed by} %q ‡‡ %L"
// Get pentagram... says get eyes if you allready have the pent :)
alias _getpent ".getpent"
alias .getpent "say_team $$nick „„ get pent „„"
alias .getring "say_team $$nick ˆˆ get ring ˆˆ"
// You want to know where your mates are, adds powerups if you have any.
alias _posreport "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .posreportq else .posreport ; _lp"
alias .posreport "say_team $$nick $x20$x20 position report"
alias .posreportq "say_team $$nick $x20%p position report"
// Item soons spawns at the location you are at.
alias _soon "_sp ; if $qt$powerups$qt != $qt$tp_name_none$qt then .soonq else .soon ; _lp
alias .soon "say_team $$nick $x20$x20 soon %l"
alias .soonq "say_team $$nick $x20%p soon %l"
// Replace location... says "lost" if you use it while dead.
alias _switch "if $health < 1 then _lost else .switch"
alias .switch "say_team $$nick ˆˆ switch %l ˆˆ %p"
// If you want to know who has quad, where it is etc. Is quad safe?
alias _qstatus ".quads"
// Attack where u died... it's weak
alias .attack "say_team $$nick ˆˆ attack %L ˆˆ"
// You bore and leave pack. Connected with "_lost" alias.
// However, it's good to bind a button to this anyway, cause if you are in a fight and enemy bores... use this then.
alias .borepack "say_team $$nick ‡‡ {packs} %L ‡‡ e:%E"
// Cancel last order... if you are reporting something by mistake.
alias .cancel "say_team $$nick $x20$x20 cancel that"
// Get the 4x damage thingie!
alias .getquad "say_team $$nick ˆˆ get quad ˆˆ"
// You owned an enemy with rl!
alias .rldead "say_team $$nick ††{rl dead} ††%l"
// There is a rocket launcher enemy at the location looking at!
alias .rlnmy "say_team $$nick ‡‡ {rl nmy} ‡‡ %y"
// Teamplay commands
tp_pickup powerups armor mh lg rl gl sng ssg pack rockets
tp_took powerups armor mh lg rl gl sng ssg pack rockets
tp_point powerups armor players mh lg rl gl sng ssg pack rockets