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 diego at Sat Jul 13 15:37:55 2002