rcon menu

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
LiquorKraZy
Captain
Posts: 267
Joined: Tue Aug 10, 2004 5:38 am
Location: CA
Contact:

rcon menu

Post by LiquorKraZy »

im making a new rcon menu and my goal is too eliminate the option of clicking the PullDownMenu and selecting the client number too just being able to type in the client number and hitting ENTER to execute the command...but i've come to a problem with using the client number option when using commands from Jims Unusual Punishments and Foresight...examples below:

Work
default example- rcon set command screenshot_models 3
Rindogs Theme example- rcon set command Snype 3

Don't Work
Foresight example- rcon set FST_Action 3|ss_models
Jims Unsual example- rcon set !3 jump

the problem comes with the client number being integrated into the command and not at the end of the command...was just curious if there is some way to be able to use the option of just typing in the client number without having to use the PullDownMenu option...i've tried many ways but cant seem to find one that works...???
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

i think it's impossible, i ran against this problem a while ago with a similer thing. It doesnt allow variables in a command like that, but it makes no sense.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
LiquorKraZy
Captain
Posts: 267
Joined: Tue Aug 10, 2004 5:38 am
Location: CA
Contact:

Post by LiquorKraZy »

ok...i figured there was no way around it...wonder if the cvars for those commands can be changed from:

rcon set !3 jump

to

rcon set jump !3

but that seems like a bunch of work...i'll just stick to the fuccin PullDownMenu gheyness for now... :x
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Could you run a script with set cvars, And wit the console command typed in, Have it run the command? :?
Image
Post Reply