Hercules Wiki
Brought to you by:
bgamez23
This command lets you break out of a Loops or a [Switch] block.
After the break; command has been issued, the script will continue where
needed.
[Switch] ([Getequipweaponlv](EQI_HAND_L)) {
[Case] 0:
[Mes] "You are holding a shield, so it doesnt have a level";
[Break];
[Case] 1:
case 2:
case 3:
case 4:
[Mes] "You are holding a lvl "+ [Getequipweaponlv](EQI_HAND_L) +" weapon";
[Break];
[Case] 5:
[Mes] "You are holding a lvl 5 weapon, hm, must be a custom design";
[Break];
}
[Close];