![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
|
When using variables things dont work..
Been trying to figure out how to make it work for the last few hours, not sure what to search for on google, so i thought i'd ask here, and *hope* for an answer
If InStr(dmsg, prefix & "makedir") = 1 Then Dim MakeDirectory As String 'MsgBox dat(4), vbOKOnly, "Testing.." MakeDirectory = dat(4) Call MkDir(MakeDirectory) End If but if i change it to dat(4) which is part of an array, and in the MsgBox shows fine as "C:\Testing" it wont work.. dmsg, refers to the first word/command given to it on the irc server and dat(4) refers to the second, like example: (+Keiran) .makedir C:\Testing Hope ive explained it Ok ! Thanks |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|