-
Notifications
You must be signed in to change notification settings - Fork 757
Break
Haru edited this page Oct 19, 2016
·
1 revision
This command lets you break out of a loop 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]];Category:Script Command