[request] Let /sa execute variables as well as commands

Discussion for Bani's Tournament Mod

Moderators: Forum moderators, developers

Post Reply
todd`
Posts: 40
Joined: Sat May 15, 2004 5:56 pm

[request] Let /sa execute variables as well as commands

Post by todd` »

If someone executes a command with /sa and it doesn't exist, I think /sa should check to see if there is a variable called that and execute it.

For example:
set objmode "exec objective.cfg; other_initialization_stuff_here"
set b_semiadmincmds2 "kick mute objmode"

and once logged in, the semiadmin could
/sa objmode


What do you think?
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

supar :thumbs:

could also have it just check for objmode.cfg and execute that...
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

It would be really supar if you made this possible for votes as well. .config voting almost allows you do everything you would want, but not quite. In particular, switching rotations with .configs is problematic.

vote_allow_exec "stopwatch.cfg stockcampaign.cfg customcampaign.cfg"

callvote exec stopwatch
etc. Server admins can use banners to let people know what is votable.

:moo:
send lawyers, guns and money
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

SCDS_reyalP wrote:Server admins can use banners to let people know what is votable.
:moo:
Or it could be added to the vote menu.
The Emperor watch over you.
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

Ragnar_40k wrote:
SCDS_reyalP wrote:Server admins can use banners to let people know what is votable.
:moo:
Or it could be added to the vote menu.
maybe if they made a feeder for it
The Necromancer
Posts: 126
Joined: Sat Sep 25, 2004 7:12 am
Contact:

Post by The Necromancer »

I dont get why it will be : Slot Unification Parser for Anaphora Resolution ?! :?
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
Post Reply