1 / 71

; USERS.PPE v1.21

; USERS.PPE v1.21. ; ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ. ; Fairly simple userlister. It shows more statistics than PCB's original. ; userlister (and it looks better too ;). ; This will also hide ~FIDO~-users. ;. ; Feel free to edit this PPE to suit your needs - just don't distribute.

fox
Télécharger la présentation

; USERS.PPE v1.21

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ; USERS.PPE v1.21

  2. ; ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ

  3. ; Fairly simple userlister. It shows more statistics than PCB's original

  4. ; userlister (and it looks better too ;)

  5. ; This will also hide ~FIDO~-users.

  6. ;

  7. ; Feel free to edit this PPE to suit your needs - just don't distribute

  8. ; the modified version. If you use parts of this program in your own

  9. ; programs, please, remember credits!

  10. ; Questions and comments: apz@finbox.nullnet.fi

  11. ;

  12. declare function upper2(string inputti) string

  13. integer i

  14. integer usercount

  15. string temp

  16. string name2look

  17. udword totaldl

  18. udword totalul

  19. udword calls

  20. STRING TEMP2,CH

  21. INTEGER I2

  22. let temp=readline(pcbdat(),29)

  23. let usercount=fileinf(temp,4) / 400 ; How many users? -> to usercount

  24. if (tokcount()>0) then

  25. name2look=""

  26. for i=1 to tokcount()+1 • if (name2look<>"") let name2look=name2look+" " • temp=gettoken() • name2look=name2look+temp

  27. next

  28. goto ohitus

  29. endif

  30. inputtext "@X03Keyw@X0Bord t@X0Fo search (enter lists all names)",name2look,"@X0F",20

  31. :OHITUS

  32. if (name2look="") log "Used APz Userlister, Listed ALL users",false

  33. if (name2look<>"") log "Used APz Userlister, Searched for: "+name2look,false

  34. println ""

  35. println "@X07User Name Location Up Down Calls Last On "

  36. println "@X0FÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄ ÄÄÄÄÄ ÄÄÄÄÄ ÄÄÄÄÄÄÄÄ"

  37. name2look=upper2(name2look)

  38. for i=2 to usercount ; We don't want users to see SysOp in userlist.

  39. getaltuser i

  40. totaldl=totaldl+u_fdl()

  41. totalul=totalul+u_ful()

  42. calls=calls+u_logons()

  43. if (abort()=true) end

  44. if (name2look<>"") if ((instr(upper2(u_name()),name2look)=0) & (instr(upper2(u_city()),name2look)=0)) goto piilota ; etsit„„n sek„ nimest„ ett„ paikkakunnasta

  45. if (left(u_name(),6)="~FIDO~") goto piilota ; And we don't want to see fido-users either...

  46. println "@X02",U_NAME(),"@POS:25@@X0A",U_CITY(),"@POS:53@@X05",U_FUL(),"@POS:59@@X0D",U_FDL(),"@POS:65@@X0F",U_LOGONS(),"@POS:71@@X0F",U_Ldate() ; kirjotetaan l”ytynyt useri

  47. goto skip

  48. :piilota

  49. print "@X07[scanning "+string((i*100)/usercount)+"%]"

  50. backup 15

More Related