Advertisement
captmicro

Untitled

Sep 18th, 2011
2,564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PyCon 1.75 KB | None | 0 0
  1. #     written under the influcence of marijuana
  2. #                 BY: Capt. Micro
  3. #                       .
  4. #                       M
  5. #                      dM
  6. #                      MMr
  7. #                     4MMML                  .
  8. #                     MMMMM.                xf
  9. #     .              "MMMMM               .MM-
  10. #      Mh..          +MMMMMM            .MMMM
  11. #      .MMM.         .MMMMML.          MMMMMh
  12. #       )MMMh.        MMMMMM         MMMMMMM
  13. #        3MMMMx.     'MMMMMMf      xnMMMMMM"
  14. #        '*MMMMM      MMMMMM.     nMMMMMMP"
  15. #          *MMMMMx    "MMMMM\    .MMMMMMM=
  16. #           *MMMMMh   "MMMMM"   JMMMMMMP
  17. #             MMMMMM   3MMMM.  dMMMMMM            .
  18. #              MMMMMM  "MMMM  .MMMMM(        .nnMP"
  19. #  =..          *MMMMx  MMM"  dMMMM"    .nnMMMMM*
  20. #    "MMn...     'MMMMr 'MM   MMM"   .nMMMMMMM*"
  21. #     "4MMMMnn..   *MMM  MM  MMP"  .dMMMMMMM""
  22. #       ^MMMMMMMMx.  *ML "M .M*  .MMMMMM**"
  23. #          *PMMMMMMhn. *x > M  .MMMM**""
  24. #             ""**MMMMhx/.h/ .=*"
  25. #                      .3P"%....
  26. #                    nP"     "*MMnx
  27.  
  28. import es, playerlib, popuplib
  29. import time, _mysql, inspect
  30.  
  31. info = es.AddonInfo()
  32. info.name       = "MicroAnnounce"
  33. info.basename   = "microannounce"
  34. info.version    = "HERPDERPDURR"
  35. info.url        = "microvnet.info"
  36. info.description= "SUP3R L33T 4NN0UNC3"
  37. info.author     = "Capt. Micro"
  38. info.contact    = "arrowflyer@gmail.com"
  39. info.tags       = "announce"
  40.  
  41. def load():
  42.     pass
  43.  
  44. def es_player_chat(e):
  45.     ply = playerlib.getPlayer(str(userid))
  46.     if (e['text'][0:8] == '!announce'):
  47.         args = e['text'].split(' ', 2)
  48.         seconds = int(args[1])
  49.         price = 7000 + (seconds * 100)
  50.         if (ply.cash >= price):
  51.             es.centermsg(args[2])
  52.             ply.cash -= price
  53.  
  54. def unload():
  55.     pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement