mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#33594 02/07/03 03:29 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
can
on *:dialog:sclick:x: { }
work on edit boxes?

#33595 02/07/03 03:30 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
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
#33596 02/07/03 03:37 PM
Joined: May 2003
Posts: 215
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
The sclick event won't trigger for text or editboxes.


- Jason
#33597 02/07/03 03:38 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
does for me;\


new username: tidy_trax
#33598 02/07/03 03:41 PM
Joined: May 2003
Posts: 215
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
Then explain to me what's wrong with this code

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
#33599 02/07/03 03:44 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
/me got confused with on *:dialog:name:edit blush


new username: tidy_trax
#33600 02/07/03 03:48 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
soo i cant trigger an event like

on *:dialog:xx:sclick:xx: {
msg $active blaahh $did(xx,xx)
}

#33601 02/07/03 03:48 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
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
#33602 02/07/03 03:50 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
hahaha thats too messy

maybe a dll can do this?

#33603 02/07/03 03:51 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
if there is such a dll i would think its mdx.


new username: tidy_trax
#33604 02/07/03 03:54 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
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.
#33605 02/07/03 04:13 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
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
#33606 02/07/03 04:18 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
oh smirk ok then ill work on it, but can i have a bit of help? does $mouse measue the current dialog or the whole screen?

#33607 02/07/03 04:25 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
the whole screen but mdx has a feature just for dialogs.


new username: tidy_trax
#33608 02/07/03 04:30 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
wink u wana be a co scripter for this project?

#33609 02/07/03 04:46 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i wouldnt be much use, coz yet again i dont know the command, i just know it exists grin


new username: tidy_trax
#33610 02/07/03 04:47 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
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.
#33611 02/07/03 04:55 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265


new username: tidy_trax
#33612 02/07/03 05:03 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
u did that? i like that dialog!

u just used the wrong color (green)

#33613 02/07/03 05:04 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i took it in green coz the dodgy shadowing when using colours doesnt show up as much smile


new username: tidy_trax
#33614 02/07/03 05:07 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
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.
#33615 02/07/03 05:08 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
ok.


new username: tidy_trax
#33616 02/07/03 06:00 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
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.
Page 1 of 2 1 2

Link Copied to Clipboard