Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Geggs
Beginner


Joined: 13 Aug 2013
Posts: 14

PostPosted: Mon Jan 11, 2016 12:25 pm   

Execute command in another window
 
Hi there,

is it possible to execute a command in another window?
I play to chars on the same mud so it would be helpfull if i can directly execute commands from the main window

i tried: #window SL2 #exec{attack} but that doesn't work.

Is there any other possibility?

Regards

Geggs
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Mon Jan 11, 2016 9:19 pm   
 
From what I can tell, your spacing is off on the command, and you need to encapsulate your parameters.
Try this:

#window SL2 {attack}

You should not need the #EXEC at all.
_________________
Discord: Shalimarwildcat
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Mon Jan 11, 2016 11:19 pm   
 
My mistake, #WINDOW only displays text, you want
#EXECWIN SL2 {attack}
_________________
Discord: Shalimarwildcat
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Tue Jan 12, 2016 2:07 am   
 
Use #execwin in a script as shalimar mentioned, but if you want to manually enter a command without having to click the window, a more typing-friendly alternative is :SL2:attack . You can also leave off the first colon (so SL2:attack) to both enter the command and change the cursor focus to that window.
Reply with quote
Geggs
Beginner


Joined: 13 Aug 2013
Posts: 14

PostPosted: Tue Jan 12, 2016 8:19 am   
 
Thanks, that's perfect
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net