… | |
… | |
949 | end |
949 | end |
950 | arch c_man |
950 | arch c_man |
951 | name Apartment salesman |
951 | name Apartment salesman |
952 | msg |
952 | msg |
953 | @match * |
953 | @match * |
954 | @parse ^rent (\S+)$ |
954 | @parse ^rent\s+(\S+)$ |
955 | @eval rent::rent $who->contr, $match->[0] |
955 | @eval rent::rent $who->contr, $match->[0] |
956 | |
956 | |
957 | @match * |
957 | @match * |
958 | @parse ^stop (\S+)$ |
958 | @parse ^stop\s+(?:rent\s+)?(\S+)$ |
959 | @eval rent::stop $who->contr, $match->[0] |
959 | @eval rent::stop $who->contr, $match->[0] |
960 | |
960 | |
961 | @match renting|renting an apartment |
961 | @match renting|renting an apartment |
962 | @msg "You can choose between these models:\n" |
962 | @msg "You can choose between these models:\n" |
963 | @eval rent::overview $who->contr, 2 |
963 | @eval rent::overview $who->contr, 2 |