mIRC Home    About    Download    Register    News    Help

Print Thread
#59786 10/11/03 09:32 PM
Joined: Nov 2003
Posts: 3
A
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Nov 2003
Posts: 3
dialog PL {
title "PL"
size -1 -1 177 93
option dbu
tab "Tab 1", 1, 2 -1 172 92
list 3, 3 22 120 47, tab 1 size
box "ProxyList", 2, 0 14 129 58, tab 1
button "Load", 4, 136 16 27 12, tab 1 flat
button "Delete", 5, 136 31 27 12, tab 1 flat
button "Wipe", 6, 136 46 27 12, tab 1 flat
button "Try Proxy", 7, 136 61 27 12, tab 1 flat
text "Server:", 15, 6 76 19 8, tab 1
edit "", 14, 25 75 72 10, tab 1 autohs
text "Ident:", 17, 99 76 15 8, tab 1
edit "", 16, 116 75 54 10, tab 1
tab "Tab 2", 8
edit "", 9, 6 35 157 40, tab 8 multi
button "Add", 10, 65 22 27 12, tab 8 flat
button "Clear", 11, 95 22 27 12, tab 8 flat
button "Close", 12, 125 22 27 12, tab 8 flat
edit "ServerName.txt", 13, 11 24 50 10, tab 8
}
alias getproxy {
var %x = 1
while %x <= $did(PL,9).lines { write $did(PL,13).text $did(PL,9).text
inc %x
}
}
on *:dialog:PL:sclick:*: { if ($did == 10) { getproxy }
}

I know my dialogs are like, off and stuff, but oh well blush
What it's SUPPOSED TO DO Is get all the lines in that editbox (TAB 2) Try Entering:
202.20.68.206:80
213.176.161.196:8080
213.96.34.90:8080
init
And then /run ServerName.txt it'll show THE FIRST LINE (202.20.68.206:80) 3 TIMES, And not even list the 2nd/3rd line. Someone help me frown

Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
alias getproxy {
var %x = 1
while ( %x <= $did(PL,9).lines ) {
write $did(PL,13,%x).text $did(PL,9,%x).text
inc %x
}
}

maybe?


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Dec 2002
Posts: 111
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 111
Mew0r:

on *:dialog:PL:sclick:10:.savebuf -o PL 9 ServerName.txt

Just use that, remove the while loop alias and such ;x

I was having problems like that with my Quoter, until I perfected MY alias for saving the file, which does what you're wanting. Then I discovered /savebuf. <3


Experience The Void.. Are You Ready?
Joined: Nov 2003
Posts: 3
A
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Nov 2003
Posts: 3
Thanks TheRate, FROG laugh (Thanks Frog ;xxxx)


Link Copied to Clipboard