|
-
Nov 12th, 2003, 09:15 AM
#1
Thread Starter
Addicted Member
reading from code instead of .conf file
i downloaded a simple irc client that reads the server from a config file.
nick=forcer
server=irc.exnodes.net
in the form load it has this code...
Open "irc.conf" For Input As #1
Do While Not EOF(1)
Line Input #1, sLine
If InStr(1, sLine, "nick") Then
Nick = Mid(sLine, InStr(1, sLine, "=") + 1)
End If
If InStr(1, sLine, "server") Then
Host = Mid(sLine, InStr(1, sLine, "=") + 1)
End If
Loop
Close #1
i'm almost sure thats the code it uses to grab the info from the file. but how can i replace this so it reads from the code, instead of the conf file.
basically i dont want to use a conf file.
-
Nov 12th, 2003, 10:55 AM
#2
huh? What code? What are you talking about?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|