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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
big_luke
Newbie


Joined: 11 Jun 2005
Posts: 9

PostPosted: Sat Jun 18, 2005 5:49 am   

zMUDFocus Com Method
 
Basically, I'm trying to write a script to give zMud focus if I receive a tell and zMud doesn't currently have focus. I'm running into some trouble with this particular method call though.

I've properly initialised the zMud com object, it works fine with all the other properties and such (in fact, in the if loop it checks .zMUDIsActive and that part returns fine). Calling the zMUDFocus method though seems to echo a blank line to my zmud window, but otherwise do nothing.

Code:
Variable: zmudvar             <OLE object: Zmud.Application>


Thats my variable.

Code:
#call @zmudvar.zMUDFocus


Doesn't seem to do anything, nor does:

Code:
#com zmudvar zMUDFocus


Maybe there are some parameters I need to give zMUDFocus? Or perhaps this method doesn't work, or some other such problem.

Any help would be appreciated. Thanks
Reply with quote
Full Throttle
Wanderer


Joined: 07 Dec 2004
Posts: 65

PostPosted: Sat Jun 18, 2005 7:14 pm   
 
I tried to code the same script a year ago. I never could get zMUDFocus to work.

This is what I use instead:

#trigger {^%w tells you} {
#if (%mss(Zmud.zMUDIsActive) = 0) {#beep}}

The script beeps if I get a tell when working in another window.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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