mIRC Home    About    Download    Register    News    Help

Print Thread
#44189 26/08/03 06:40 AM
Joined: Aug 2003
Posts: 136
M
Vogon poet
OP Offline
Vogon poet
M
Joined: Aug 2003
Posts: 136
I have it so when the dialog is loaded it will get the nicks list them and what not
Code:
 on *:dialog:staticontrol:init:0: {
  did -ra staticontrol 20 $active
  if $did(20) ischan { filter -loc $ifmatch $dname 3 }
  else return $input(You're not on channel $did(20),oh,Not on channel)
}  

I also have that attached to a button for a refresh, I have tried to make it so itll work with join/part/kick/quit but it returns
* Invalid parameters: $did (line 105, staticontrol.mrc)
Im lost help please
*EDIT*
20 is a edit box with the #Channel name and 3 is the list box

Last edited by MrPeepers; 26/08/03 06:41 AM.
#44190 26/08/03 11:22 AM
Joined: Apr 2003
Posts: 300
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
what is on line 105?

#44191 26/08/03 12:19 PM
Joined: Aug 2003
Posts: 136
M
Vogon poet
OP Offline
Vogon poet
M
Joined: Aug 2003
Posts: 136
$did(20)
In the remote or alias how ever I place it

#44192 26/08/03 12:21 PM
Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
I think he means he wanted to see the entire line 105. I know I would.

#44193 26/08/03 12:22 PM
Joined: Aug 2003
Posts: 136
M
Vogon poet
OP Offline
Vogon poet
M
Joined: Aug 2003
Posts: 136
if $did(20) ischan { filter -loc $ifmatch $dname 3 }

#44194 26/08/03 12:41 PM
Joined: Apr 2003
Posts: 300
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
i cant see what the problem is, but i havent been doing dialogs that long so im sure someone else can help

#44195 26/08/03 03:47 PM
Joined: Dec 2002
Posts: 1,253
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,253
if $active ischan { filter -loc $did(20) $dname 3 * }

#44196 27/08/03 10:19 AM
Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
You can omit <matchtext> and make it process all lines (same as using *).


Link Copied to Clipboard