Here is my entire scripted spell sub ``` Sub ScriptedSpell(Index, Script) Select Case Script Dim Target Case 0 Call PlayerMsg(Index, "This scripted spell has no apparent use.", WHITE) Exit Sub Case 1 Dim MDC 'This is a simple flame spell 'Damages target for Magic stat plus 5 MDC = Int(GetPlayerMagi(index) + 5) If Int(GetPlayerTarget(Index)) > 0 Then Target = GetPlayerTarget(Index) Call DamagePlayer(Index, Target, MDC) Else Target = GetPlayerTargetNPC(Index) Call DamageNPC(Index, Target, MDC) End If Exit Sub Case 2 Call PlayerMsg(Index, "No spell script found. Please contact an admin to solve this problem.", WHITE) 'This is a generic spell. Dim Damage2 Dim Map2 Dim X2 Dim Y2 'Gets Magic Value and adds base damage Damage2 = Int(GetPlayerMagi(Index) + 5) 'Next three lines store player map number, x position, and y position to variables Map2 = Int(GetPlayerMap(Index)) X2 = Int(GetPlayerX(Index)) Y2 = Int(GetPlayerY(Index)) If Int(GetPlayerTarget(Index)) > 0 Then Target = GetPlayerTarget(Index) Call DamagePlayer(Index, Target, Damage2) 'Casts spell animation Call SpellAnim(1, Map2, X2, Y2) Else Target = GetPlayerTargetNPC(Index) Call DamageNPC(Index, Target, Damage2) 'Casts spell animation Call SpellAnim(1, Map2, X2, Y2) End If Exit Sub Case Else Call PlayerMsg(Index, "No spell script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End Select End Sub ``` When I try case 2 by itself, it works. However, in the current script, it will not work. Even the message I placed right after the case refuses to show. Any help is appreciated.