switch

Flow control command
Syntax

switch [-s] (<expression>)
{
    match(<wildcard_expression>)[:]<command>
    [break]
    regexpr(<regular_expression>)[:]<command>
    [break]
    case(<value>)[:]<command>
    [break]
    default[:]<command>
    [break]
}

Examples

me is Hungry!

Main index, Command index
KVirc 3.0.0 documentation
Generated by builder at Sat Sep 7 15:44:21 2002