You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
794 B
31 lines
794 B
#NOP == Prompt Update Function ==
|
|
#nop colors
|
|
#function {tpa_col}
|
|
{
|
|
#if {"%0" == "invisible"}
|
|
#return <178>;
|
|
#if {"%0" == "dull red"}
|
|
#return <018>;
|
|
#if {"%0" == "bright red"}
|
|
#return <118>;
|
|
#if {"%0" == "wobbling orange"}
|
|
#return <fca><188>;
|
|
#if {"%0" == "flickering yellow"}
|
|
#return <138>;
|
|
#return;
|
|
}
|
|
|
|
|
|
#ALIAS {update_prompt} {
|
|
xp_monitor;
|
|
#format {prompt_xp} {%Gxp in %s (%Gk/h)} {$session_xp} {$uptime[display]} {$xprate};
|
|
|
|
#var {prompt_tpa} {};
|
|
|
|
#if {$tpa_status == 1} {
|
|
#format {prompt_tpa} {%cTPA%c} {@tpa_col{$tpa_color}} {<098>};
|
|
};
|
|
|
|
#format {prompt_line} {%+5s %+40s} {$prompt_tpa} {$prompt_xp};
|
|
#showme {$prompt_line} {-1};
|
|
}
|