Menu

#92 alias f_cfgload

needs a discussion
closed
6
2005-07-08
2004-09-20
Empezar
No

I want on_load to be triggered when the config is
loaded, that way you can execute other scripts when the
config is loaded (that are filled with tempaliases for
example)

Discussion

  • JohnNy_cz

    JohnNy_cz - 2004-09-21
    • labels: --> Configuration
    • priority: 5 --> 6
     
  • JohnNy_cz

    JohnNy_cz - 2005-02-07

    Logged In: YES
    user_id=1113699

    You mean more like f_ trigger?

     
  • JohnNy_cz

    JohnNy_cz - 2005-02-07
    • milestone: --> 429104
     
  • JohnNy_cz

    JohnNy_cz - 2005-07-02
    • assigned_to: nobody --> johnnycz
    • milestone: 429104 --> needs a discussion
    • status: open --> pending
     
  • JohnNy_cz

    JohnNy_cz - 2005-07-02

    Logged In: YES
    user_id=1113699

    Should it be executed before or after main config loading?

     
  • Nobody/Anonymous

    Logged In: NO

    1) load main config 2) check on_load alias

    easy as that. alias on_load "exec config1.cfg; exec
    config2.cfg" would execute config1.cfg and config2.cfg after
    the main config has been loaded.

     
  • JohnNy_cz

    JohnNy_cz - 2005-07-08

    Logged In: YES
    user_id=1113699

    on_* triggers are server-side called cmds so i named it
    f_cfgload.

     
  • JohnNy_cz

    JohnNy_cz - 2005-07-08
    • summary: alias on_load --> alias f_cfgload
    • status: pending --> closed