Skip to content
General IRCX

Setting a drop downs selected text on dialog init?

A TG007 community discussion started by S0RD3N.

Discussion 4 posts
Page 1 of 1
Open
Topic #5931 · 4 published posts · 1,603 views

How can I put text selected in a drop down box on the dialog init? I want to have a "default" paramater set in a drop down box when the dialog is opened, is this possible?

 

Thanks in advanced,

-S0RD3N

"If you don't risk anything you risk even more." - Erica Jong

on *:dialog:addaccess:init:*: {

did -a $dname 2 Deny

did -a $dname 2 Grant

did -a $dname 2 Voice

did -a $dname 2 Host

did -a $dname 2 Owner

did -c $dname 2 1

}

 

 

i use that for my accesslist, and deny shows up on init... so,, the did -c $dname 2 1 1 being what u want to set, so if i switched it to 3 did -c $dname 2 3 the voice will be shown on init ect..

hmmm okay, thanks Seph :)

"If you don't risk anything you risk even more." - Erica Jong

or ....

 
on *:DIALOG:DIALOGNAME:*:*: { 
    if ($devent = init) { did -a $dname DROPMENUID Turn Off Computer } 
} 

 

Just a different way to code it......

 

\\=========//

CRASH

\\==============//