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
raviden
Novice


Joined: 02 Nov 2010
Posts: 45

PostPosted: Tue Jul 04, 2017 4:15 am   

Show / Showp doesn't work
 
Suddenly they stopped working in triggers -
Code:
#win "windowname" TEXT

works,
Code:
#sh TEXT

doesn't. Looks like it tries to send it to incorrect window perhaps? Can anyone assist with fixing that?
Reply with quote
shalimar
GURU


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

PostPosted: Tue Jul 04, 2017 9:25 pm   
 
#SHOW and #SHOWP will default to the main window, as they have no context to do otherwise on their own.
If you were expecting otherwise that is likely the issue

#WIN will push text, as you figured out, but to push a prompt you would need to do something like:

#EXECWIN windowname {#SHOWPROMPT text}

also, there is no need to put windowname in quotes here, unless it is a complex string
_________________
Discord: Shalimarwildcat
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