game_over Posted March 13, 2006 Share Posted March 13, 2006 i have multiple objects that i need to be in a string, i don't know much at all about vbscript but this is the type of thing i'm trying to achieve.. if computer = "comp1" AND "comp2" then do something... elseif computer = "comp3" AND "comp4" then do something... endif is that the correct way i would do it, just simply using an AND?? i've looked round the net but couldn't find anything that helped. Link to comment Share on other sites More sharing options...
Question
game_over
i have multiple objects that i need to be in a string, i don't know much at all about vbscript but this is the type of thing i'm trying to achieve..
if computer = "comp1" AND "comp2" then
do something...
elseif computer = "comp3" AND "comp4" then
do something...
endif
is that the correct way i would do it, just simply using an AND?? i've looked round the net but couldn't find anything that helped.
Link to comment
Share on other sites
0 answers to this question
Recommended Posts