Aluf

Bot Prof command-By Aluf

Jan 28th, 2015
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. #By Aluf
  2. ########################################################################
  3. ########################################################################
  4. #### Posts © Aluf ####
  5. #### http://Aluf.chatango.com ####
  6. #### ####
  7. _____ .__ _____ ####
  8. / _ \ | | __ ___/ ____\ ####
  9. / /_\ \| | | | \ __\ ####
  10. / | \ |_| | /| | ####
  11. \____|__ /____/____/ |__| © Aluf-[www.pastebing.tk] ####
  12. \/ ####
  13. #### Message me anytime for any doubts .CC's i post might not ####
  14. #### be working everytime,so message me for fresh cc's . ####
  15. #### Website : www.pastebing.tk ####
  16. #### If you need suggestion for the pastebin bots of chatango ####
  17. #### message me,lol i have run all the bots here myself,so ####
  18. #### i guess ,i know which is the worst and best . ####
  19. #### Do not ask for my bot code on pm ,i quit years back . ####
  20. #### If you have doubts regarding other codes on my pastebin ####
  21. #### Still message me on Aluf or tyt or 93. [93 FOR COMPLAINS] ####
  22. #### I Have been getting a lot of messages lately for cc's ####
  23. #### and the worst part is many want to know to hack cc ####
  24. #### I cannot help you with that ,you have to find a way yourself ####
  25. #### but ofc you can always ask for cc's but don't ask me how to ####
  26. ____ _ _ _____ ####
  27. / _ \/ \ / \ /\/ / ####
  28. | / \|| | | | ||| __\ ####
  29. | |-||| |_/\| \_/|| | ####
  30. \_/ \|\____/\____/\_/ © PMR [ Add me before messaging ] ####
  31. ########################################################################
  32.  
  33.  
  34. elif cmd=="prof":
  35. try:
  36. args=args.lower()
  37. stuff=str(urlreq.urlopen("http://"+args+".chatango.com").read())
  38. crap, age = stuff.split('<span class="profile_text"><strong>Age:</strong></span></td><td><span class="profile_text">', 1)
  39. age, crap = age.split('<br /></span>', 1)
  40. crap, gender = stuff.split('<span class="profile_text"><strong>Gender:</strong></span></td><td><span class="profile_text">', 1)
  41. gender, crap = gender.split(' <br /></span>', 1)
  42. if gender == 'M':
  43. gender = 'Male'
  44. elif gender == 'F':
  45. gender = 'Female'
  46. else:
  47. gender = '?'
  48. crap, location = stuff.split('<span class="profile_text"><strong>Location:</strong></span></td><td><span class="profile_text">', 1)
  49. location, crap = location.split(' <br /></span>', 1)
  50. picture = '<a href="http://fp.chatango.com/profileimg/' + args[0] + '/' + args[1] + '/' + args + '/full.jpg" style="z-index:59" target="_blank">http://fp.chatango.com/profileimg/' + args[0] + '/' + args[1] + '/' + args + '/full.jpg</a>'
  51. prodata = fontstyle + highlight + '<u>http://' + args + '.chatango.com </u>' + nc + '<a href="http://chatango.com/fullpix?' + args + '" target="_blank"> Age: ' + highlight + age + nc + ' Gender: ' + highlight + gender + nc + ' Location: ' + highlight + location + nc + '</a>' + picture
  52. room.rawMessage(prodata)
  53. except:
  54. room.message("There was an error in calculating "+args+"'s profile....are you sure they exist???")
Advertisement
Add Comment
Please, Sign In to add comment