# 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 root at Thu Apr 29 12:41:05 2004