Ok i have this code
VB Code:
  1. If intExp > llevel Then
  2.     If intLevel = (level - 1) Then
  3.     llevel = llevel * 1.7
  4.     level = level + 1
  5.     intLevel = intLevel + 1
  6.     frmRPG.S.Enabled = True
  7.     intHeal = intHeal + 10
  8.     intHP = intMaxHP
  9.     frmRPG.cmdFlee.Caption = "Use Heal (" & intHeal & ")"
  10.     intSet = intSet + 15
  11.     frmRPG.Label1.Caption = "Skill Credits: " & intSet
  12.     frmRPG.Label4.Caption = "LVL"
  13.     statp = statp + 2
  14.     If intLevel = 15 Then
  15.     frmRPG.Option8.Visible = True
  16.     End If
  17.     End If
  18.     End If

and i want that to loop until intExp > llevel that is not true anymore.... How would i do that?