|
Geggs Beginner
Joined: 13 Aug 2013 Posts: 14
|
Posted: 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 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Mon Jan 11, 2016 11:19 pm |
My mistake, #WINDOW only displays text, you want
#EXECWIN SL2 {attack} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: 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.
|
|
|
|
Geggs Beginner
Joined: 13 Aug 2013 Posts: 14
|
Posted: Tue Jan 12, 2016 8:19 am |
Thanks, that's perfect
|
|
|
|
|
|