580 likes | 682 Vues
This article presents a concise guide to the "finger" PPE, demonstrating its integration with the EWHO protocol. It provides a practical example of how to use this PPE, where the user can input their name as a parameter (e.g., using the command "finger john doe"). The guide highlights the advantages of compiling with PPLC 2.0 for faster load times and outlines key technical operations involving user data retrieval and formatting, ensuring efficient and user-friendly outputs. This is an essential tool for managing user statistics effectively.
E N D
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; this is a quickie "finger" type of ppe used as an example with EWHO.
; this ppe expects the user's name as a parameter. for example, if you
; were to install this in your cmd.lst, someone would run this like:
; this ppe can be compiled with pplc 2.0 (which is preferred since it
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; zap any leading and trailing spaces (in case name wasn't passed in
println "@CLS@@X0F ____/\_________________________ __________________________________@X07"
println "@X0C / / _/ _____/_ ___/ _ \ / ____\_____/ _ \_____/ _____/@X07"
println "@X04 / / \___ \_/ __|_| |/ _/ \___ \_ / \ |/ \ \___ \_@X07"
println "@X07 / / / / / | \ / \ \ _ | \ \@X07"
println "@X08 \________/\_______/\_______|___|\ \ \_______/\_____/___| /____/_______/@X07"
println "@X08 |__/ |__/@X07"
println "@X0Cþ@X08ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[ finger.ppe ]Ä@X0Cþ"
println "@X08³ @X0FUs@X0Cer@X04 Handle@X08.........@X04: @X07" + u_name() + "@POS:79@@X08³"
println "@X08³ @X0FUs@X0Cer@X04 Note@X08...........@X04: @X07" + u_city + "@POS:79@@X08³"
println "@X08³ @X0FSe@X0Ccu@X04rity Level@X08......@X04: @X07" + string(u_sec) + "@POS:79@@X08³"
println "@X08³ @X0FTi@X0Cme@X04s On System@X08.....@X04: @X07" + string(u_logons()) + "@POS:79@@X08³"
println "@X08³ @X0FCa@X0Cll@X04er Number@X08.......@X04: @X07@NUMCALLS@@POS:79@@X08³"
println "@X08³ @X08³"
println "@X08³ @X0FFi@X0Cle@X04s DL'ed@X08.........@X04: @X07" + string(u_fdl()) + \
"@POS:40@@X0FBy@X0Cte@X04s DL'ed@X08.........@X04: @X07" + \