|
Farek Beginner
Joined: 13 Oct 2004 Posts: 29
|
Posted: 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?
|
|
|
|
Kiasyn Apprentice
Joined: 05 Dec 2004 Posts: 196 Location: New Zealand
|
Posted: 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 |
|
|
|
Farek Beginner
Joined: 13 Oct 2004 Posts: 29
|
Posted: 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? :)
|
|
|
|
DeathDealer Adept
Joined: 20 Jul 2004 Posts: 268
|
Posted: Wed Apr 06, 2005 2:17 pm |
I'd quess
#TRIGGER {(%w) tells you '(*)'} {#if (%ismember(%1,@whitelist)) {#beep;#message {%1 tells you '%2'}}} |
|
_________________
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
DeathDealer Adept
Joined: 20 Jul 2004 Posts: 268
|
Posted: 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 |
|
_________________
|
|
|
|
Maelstrom Apprentice
Joined: 10 Feb 2005 Posts: 158
|
Posted: Thu Apr 07, 2005 2:44 am |
Use capture instead.
#TRIGGER {^(%w tells you *)$} {#if (%ismember(%1,@whitelist)) {#beep;#capture {Whitelist} {1}}} |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
Farek Beginner
Joined: 13 Oct 2004 Posts: 29
|
Posted: Fri Apr 08, 2005 4:59 pm |
is there a way to change the colors from black/red to something else in the message?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
|
|