define selection <buy>
choice <stick 100> if ( %money% >= 100 ) then {if ask <Are you sure you wan to buy this?> then {
dec <%money%; 100>
show <stick>
give <stick>
}
} else {
say <You dont have enough gold for that!>
speak <You dont have enough gold for that!>
}
end define
define selection <buy>
choice <stick 100> if ( %money% >= 100 ) then {
if ask <Are you sure you wan to buy this?> then {
dec <%money%; 100>
show <stick>
give <stick>
}
}
else {
say <You dont have enough gold for that!>
speak <You dont have enough gold for that!>
}
end define
define selection <buy>
choice <stick 100> {
if ( %money% >= 100 ) then {
if ask <Are you sure you wan to buy this?> then {
dec <%money%; 100>
show <stick>
give <stick>
}
}
else {
say <You dont have enough gold for that!>
speak <You dont have enough gold for that!>
}
}
end define