EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   How to send sentence or command to chat window input? (https://www.eq2interface.com/forums/showthread.php?t=3405)

EagleKing 06-20-2005 11:00 PM

How to send sentence or command to chat window input?
 
Like OnPress = "tell = '/tell someone'" ?

Deathbane27 06-21-2005 12:30 AM

OnPress="'tell=' ' tell='Person and Message Here' tell='Person and Message Here'"

Explanation:

It executes right to left.

First (last) sets the button's tell property to 'Person and Message Here'. Second command actually executes it as a command (only executes if the command paramaters are the same as the property). The last (first) sets tell to a null value so it doesn't send the tell twice next time you press it.

serion 06-21-2005 12:35 AM

I know this works
 
in ui builder - OnPress g='quote' will send whatever is in '..' to group , now im not sure about tells.
I think this is what it looks like in notepad OnPress="g='whatever'; g='whatever'
new at this.. correct me if im wrong.
also works with s - /say , gu - /gu

...guess i was a little too late :)

EagleKing 06-21-2005 08:57 PM

thx a lot .

And is it possible to add button to send tell to a friend online in friend tab in community window ?

Deathbane27 06-22-2005 12:31 AM

Unfortunately, no. All the commands have to be pre-set into the UI. We can't combine text strings at the moment. :/

EagleKing 06-22-2005 01:09 AM

aye , this is why the auto serach store window need use addtional image to get item name :(


All times are GMT -5. The time now is 05:17 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI