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
Farek
Beginner


Joined: 13 Oct 2004
Posts: 29

PostPosted: Wed Apr 06, 2005 6:22 am   

pop up...
 
I want to have a pop up window to appear when someone from my whitelist tells me something and the tell should be captured into that pop up....is that even possible?
Reply with quote
Kiasyn
Apprentice


Joined: 05 Dec 2004
Posts: 196
Location: New Zealand

PostPosted: Wed Apr 06, 2005 6:28 am   
 
#TRIGGER {(%w) tells you '(*)'} {#if (%ismember(%1,@whitelist)) {#message {%1 tells you '%2'}}}
probably a better way to do this :p
_________________
Kiasyn
Owner of Legends of Drazon
Coder on Dark Legacy
Check out Talon, an easy IMC connection.
Reply with quote
Farek
Beginner


Joined: 13 Oct 2004
Posts: 29

PostPosted: Wed Apr 06, 2005 7:01 am   
 
how do i add a #beep to that trigger so i will notice it when im afw also? :)
Reply with quote
DeathDealer
Adept


Joined: 20 Jul 2004
Posts: 268

PostPosted: Wed Apr 06, 2005 2:17 pm   
 
I'd quess
#TRIGGER {(%w) tells you '(*)'} {#if (%ismember(%1,@whitelist)) {#beep;#message {%1 tells you '%2'}}}
_________________
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Apr 06, 2005 11:53 pm   
 
#Message only lasts for 10 seconds, though; after that, the message window disappears. There IS a fairly simple way to do this but currently #MAKEWINDOW is just buggy enough that this particular solution would be useless unless you had a window permanently open and on top.
_________________
EDIT: I didn't like my old signature
Reply with quote
DeathDealer
Adept


Joined: 20 Jul 2004
Posts: 268

PostPosted: Thu Apr 07, 2005 2:39 am   
 
actually, you can set the time that the #message lasts. from the help file:

#MES [time] string

#MESS 1 "Quick message"
Displays the message for only 1 second

The prob that I have with it is that unless i did something wrong, it only displays ONE line worth of info.
I'd set something up once to display a fe lines worth of info (I think it was quest info) and it only gave me one line out of a 3 line msg
_________________
Reply with quote
Maelstrom
Apprentice


Joined: 10 Feb 2005
Posts: 158

PostPosted: Thu Apr 07, 2005 2:44 am   
 
Use capture instead.

#TRIGGER {^(%w tells you *)$} {#if (%ismember(%1,@whitelist)) {#beep;#capture {Whitelist} {1}}}
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Apr 07, 2005 10:54 pm   
 
Quote:

The prob that I have with it is that unless i did something wrong, it only displays ONE line worth of info.


Nope, you didn't do anything wrong. That's just the way it works. I put in a report for that a little while ago, since I was able to see the very top line of the second line of text (ie, those pixels on the letter t above the crossbar). Without the carriage returns, #MESSAGE doesn't wordwrap and with them the message itself is properly formatted but the window doesn't resize.
_________________
EDIT: I didn't like my old signature
Reply with quote
Farek
Beginner


Joined: 13 Oct 2004
Posts: 29

PostPosted: Fri Apr 08, 2005 4:59 pm   
 
is there a way to change the colors from black/red to something else in the message?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Apr 08, 2005 11:19 pm   
 
Nope. #MESSAGE = #BUTTON in this regard, insofar as the caption itself is concerned (ie, using %ansi() in the message/caption will only cause you see the actual ansi code rather than the color itself).
_________________
EDIT: I didn't like my old signature
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