jaxwire
10-20-2004, 01:58 PM
I have a pulldown menu that I use to change - for example - the runspeed, thus:
addpopup "Change Run Speeds" "0" command "rcon sv_runspeed 0"
I'm trying to add MaM2.1-generated servermessages to each button so that when I change the runspeed the server reports it. The rcon command for the msg is:
rcon command "sayi Runspeed set to 0"
Now how do I combine those 2? I found out through trial and error that you can have multiple commands in a single addpopup statement by putting a ; between commands, but I've been unsuccesful to add the text. Here's what I have so far :
addpopup "Change Run Speeds" "0" command "rcon sv_runspeed 0;command sayi runspeed set to 0"
This executes the runspeed change, and also runs the sayi command, but without the text... I've tried adding quotes, created aliases for the entire sayi command and text, but nothing seems to work.... Any ideas?
addpopup "Change Run Speeds" "0" command "rcon sv_runspeed 0"
I'm trying to add MaM2.1-generated servermessages to each button so that when I change the runspeed the server reports it. The rcon command for the msg is:
rcon command "sayi Runspeed set to 0"
Now how do I combine those 2? I found out through trial and error that you can have multiple commands in a single addpopup statement by putting a ; between commands, but I've been unsuccesful to add the text. Here's what I have so far :
addpopup "Change Run Speeds" "0" command "rcon sv_runspeed 0;command sayi runspeed set to 0"
This executes the runspeed change, and also runs the sayi command, but without the text... I've tried adding quotes, created aliases for the entire sayi command and text, but nothing seems to work.... Any ideas?