mIRC Home    About    Download    Register    News    Help

Print Thread
#81649 02/05/04 05:46 AM
Joined: Dec 2003
Posts: 199
K
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Well, I'm trying to make a custom perform list thing, and I'm not sure how perform works with dialogs but I want it to load the amount of lines in: $lines(CreativeIRC.txt) to the Dialog "Perform" and the ID "2" - I don't know how to get it to there, I tried $did(Perform,2) instead of "2" but it aint working, And since the help file doesn't cover dialogs, just @windows, I posted. -Krim
/loadbuf -o $lines(CreativeIRC.txt) 2 CreativeIRC.txt


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#81650 02/05/04 06:10 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Try: //did -a Perform 2 $lines(CreativeIRC.txt)

You only need /loadbuf when the actual file content is to be dumped to the dialog control.

#81651 02/05/04 06:52 AM
Joined: Dec 2003
Posts: 199
K
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Yeah, That's what im trying to do:
If this is in the .txt:
[TXT]
Line1
Line2
Line3
In the Editbox I want it to look the same:
[EditBox]
Line1
Line2
Line3
I tried the code above and it didn't work as I stated above, You know how? frown


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#81652 02/05/04 06:54 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
This should do the trick: /loadbuf -o Perform 2 CreativeIRC.txt

#81653 02/05/04 07:07 AM
Joined: Dec 2003
Posts: 199
K
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Thanks man, I owe ya. wink
EDIT: And how about If I wanted to start from the SECOND LINE to the last...

Last edited by Kriminal; 02/05/04 07:11 AM.

Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#81654 02/05/04 07:21 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
/loadbuf 2-9999 -o Perform 2 CreativeIRC.txt

If the first line is a [topic] you can also use /loadbuf -otTOPIC Perform 2 CreativeIRC.txt


Link Copied to Clipboard