Feature #726

setdef

Added by Ammler over 10 years ago. Updated over 10 years ago.

Status:ClosedStart date:2010-01-28
Priority:NormalDue date:
Assignee:Osai% Done:

100%

Category:-
Target version:-

Description

if {![::mod_irc::nickIsOp [who]]} {
        say::public "you must be channel op to use [command]" 
} else {
        # we are ops and have one argument that is an integer
        ::ap::game::console "setting pf.wait_for_pbs_path 255\r" 
        ::ap::game::console "setting pf.wait_twoway_signal 255\r" 
        ::ap::game::console "setting pf.wait_oneway_signal 255\r" 
        ::ap::game::console "setting pf.path_backoff_interval 1\r" 
        ::ap::game::console "setting train_acceleration_model 1\r" 
        ::ap::game::console "setting extra_dynamite 1\r" 
        ::ap::game::console "setting mod_road_rebuild 1\r" 
        ::ap::game::console "setting forbid_90_deg 1\r" 
        ::ap::game::console "setting ai_in_multiplayer 0\r" 
        ::ap::game::console "setting order.no_servicing_if_no_breakdowns 1\r" 
        ::ap::say::everywhere "*** [who] has disabled wait_for_pbs_path, wait_twoway_signal, wait_oneway_signal, ai_in_multiplayer enabled no_servicing_if_no_breakdowns, extra_dynamite, mod_road_rebuild, forbid_90_deg and set path_backoff_interval to 1, train_acceleration_model to 1" 
}

Associated revisions

Revision 4:8bfd8c06a97b
Added by Osai over 10 years ago

-Update: Added command 'setdef' (closes #726)

History

#1 Updated by Osai over 10 years ago

  • Assignee set to Osai

#2 Updated by Osai over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r4.

Also available in: Atom PDF