Skip to content

Instantly share code, notes, and snippets.

@armed
Created December 8, 2010 06:08
Show Gist options
  • Save armed/732961 to your computer and use it in GitHub Desktop.
Save armed/732961 to your computer and use it in GitHub Desktop.
_method mass_switch.reserve_crv(old_crv_number, new_crv_number)
##
##
_if mass_switch_get_ccom() ~= "7172" _then _return _endif
_if old_crv_number = new_crv_number _then _return _endif
_if (a_crv << get_crv_from_tel(new_crv_number)) _is _unset _then
_return _endif
_if a_crv.is_free? _then
a_crv.reserve_mass_switch()
_endif
_endmethod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment