Hello, I have this code in my insim and is not going as I want.
Any help please ?
switch(Stage)
{
case 1:
if(Msg1 != "")
{
insim.Send("/msg " + Msg1);
Stage += 1;
}
else //if Msg1 is null, send message 2
insim.Send("/msg " + Msg2);
Stage += 1;
break;
case 2:
if(Msg2 != "")
{
insim.Send("/msg " + Msg2);
Stage += 1;
}
break;
case 3:
if(Msg3 != "")
{
insim.Send("/msg " + Msg3);
Stage = 1;
}
break;
}
Any help please ?