ClearAll[malujKruhy];
malujKruhy[kruhy:{bod:{_,_}..},polomer_]:=Show[Graphics[{Blue,Opacity[0.5],Disk[#,polomer]&/@kruhy}]];
malujKruhy[kruhy:{bod:{_,_}..}]:=malujKruhy[kruhy,1]
malujKruhy[{{1,1},{2,2}},0.5]

ClearAll[malujKruhy];

malujKruhy[kruhy:{bod:{_,_}..},opts___Rule]:=Module[{polomer,barva},
{polomer,barva}={"Polomer","Barva"}/.{opts}/.{polomer->1,barva->Blue};

Show[Graphics[{barva,Opacity[0.5],(Disk[#,polomer])&/@kruhy}]]
];

malujKruhy[{{1,1},{2,2}},"Polomer"->0.5,"Barva"->Red]

ClearAll[malujKruhy];

Options[malujKruhy]={"Polomer"->1,Barva->Blue}
malujKruhy[kruhy:{bod:{_,_}..},opts:OptionsPattern[]]:=Module[{polomer,barva},
polomer=OptionValue["Polomer"];
barva=OptionValue[Barva];
Show[Graphics[{barva,Opacity[0.5],(Disk[#,polomer])&/@kruhy}],PlotRange->{{-5,5},{-5,5}},opts]
];

malujKruhy[{{1,1},{2,2}},Polomer->0.5,"Barva"->Green]

ω=5;
ClearAll[plotsin];
ClearAll[ω];

Options[plotsin]=Union[{"ω"->1},Options[Plot]];
plotsin::spatneOmega="Jdi domu obludo, ω musi byt cislo a ne `1`!";



plotsin[opts:OptionsPattern[]] := 

Module[{ω},
ω=OptionValue["ω"];

If[!NumericQ[ω],Message[plotsin::spatneOmega,ω];Return[]];

Plot[Sin[ω*x],{x,0,2Pi},Evaluate[FilterRules[{opts}, Options[Plot]]],PlotStyle->Red]
];

plotsin::usage="Moje supr nova fce pro kresleni sinu";

plotsin[PlotStyle->Green,ω->a+5]

MUtilities

??plotsin

On[plotsin::spatneOmega]

Off[plotsin::spatneOmega]

Messages[NDSolve]

?Plo

ClearAll[fce]
fce[a__]:=a
fce[1,2,3]

fce2[pam1,Sequence[1,2,3],pam2]

ClearAll[malujKruhy];

malujKruhy[kruhy:{bod:{_,_}..},polomer_:1]:=Show[Graphics[{Blue,Opacity[0.5],Disk[#,polomer]&/@kruhy}]];

malujKruhy[{{1,1},{2,2}},0.5]