|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
can on *:dialog:sclick:x: { } work on edit boxes?
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
yes. try this, on *:Dialog:name:sclick:id:{ did -r $dname id } and it should remove the things in the edit box.
Last edited by pheonix; 02/07/03 03:31 PM.
new username: tidy_trax
|
|
|
|
Joined: May 2003
Posts: 215
Fjord artisan
|
Fjord artisan
Joined: May 2003
Posts: 215 |
The sclick event won't trigger for text or editboxes.
- Jason
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
new username: tidy_trax
|
|
|
|
Joined: May 2003
Posts: 215
Fjord artisan
|
Fjord artisan
Joined: May 2003
Posts: 215 |
Then explain to me what's wrong with this code
dialog test {
title "test"
size -1 -1 100 21
option dbu
edit "Click here", 1, 5 5 90 11
}
on *:dialog:test:sclick:1: {
did -r $dname 1
}
- Jason
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
/me got confused with on *:dialog:name:edit
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
soo i cant trigger an event like
on *:dialog:xx:sclick:xx: { msg $active blaahh $did(xx,xx) }
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
not if its an edit box, but i think you can do it using $mouse
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
hahaha thats too messy
maybe a dll can do this?
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
if there is such a dll i would think its mdx.
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
ok, $mouse, i would need help doing it becuase i dont know anything about xx,yy or whatever, the script is here: http://mtec89.ath.cx/scripts.html its the control panel one. its updated
Last edited by MTech; 02/07/03 03:56 PM.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
im not too sure on mouse myself, i just presumed considering it gets the position and you can use it for sclick,uclick etc that you would be able to use it.
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
oh ok then ill work on it, but can i have a bit of help? does $mouse measue the current dialog or the whole screen?
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
the whole screen but mdx has a feature just for dialogs.
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
u wana be a co scripter for this project?
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
i wouldnt be much use, coz yet again i dont know the command, i just know it exists
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
im looking for a new dialog design...i can give credits to a co scripter...:p
edit:
looking over my scripts...i left no credit to myself in some...:p i guess i dont care much about giving myself credit.
edit2: maybe im just not the type that needs credit? lol but im putting them in as i speak :P
Last edited by MTech; 02/07/03 04:53 PM.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
u did that? i like that dialog!
u just used the wrong color (green)
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
i took it in green coz the dodgy shadowing when using colours doesnt show up as much
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
ic...u still interested?
editz:hehe im getting pm's now rofl
Last edited by MTech; 02/07/03 05:13 PM.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
OP
Fjord artisan
Joined: Mar 2003
Posts: 437 |
hey pheonix, im also looking into some other features, online time, where it displays how long you have been connected since the first second you loaded the script. just keeps counting...like mirc's timer
Last edited by MTech; 02/07/03 06:01 PM.
|
|
|
|
|
|