Advertisement
Carolyn40

PicPlay

Mar 6th, 2022
2,304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.16 KB | None | 0 0
  1. ;############## Picture Sharing (by Carolyn52) ##############
  2. ;#
  3. ;# To start the script 'playin' random URLs, you will first need a flat text file list, one
  4. ;# URL per line, saved in the main mIRC directory (such as 'list.txt')
  5. ;#
  6. ;# To start the script, type (in the channel you want it running in):
  7. ;#
  8. ;#  /pp [list file] [interval]
  9. ;#
  10. ;#      Where:
  11. ;#
  12. ;#        [list file] is the name of the file with the list of URLs, without the extension
  13. ;#          (list.txt would just be 'list' by itself, in the command)
  14. ;#
  15. ;#        [interval] is the time, in seconds, desired between postings
  16. ;#
  17. ;# To stop the 'playing' of random URL's simply type (in the same channel where it's playing):
  18. ;#
  19. ;#  /ps
  20. ;#
  21. ;#
  22. ;# NOTE: there is no configuration needed in this script, simply type the command as described above.
  23. ;#
  24.  
  25. ;############## Begin Script ##############
  26.  
  27. pp {
  28.   set %picchan #
  29.   set %picinterval $$2
  30.   set %picfile $$1 $+ .txt
  31.  
  32.   .play -r %picchan %picfile
  33.   .timer $+ %picchan $+ _pics 0 %picinterval playpic
  34. }
  35.  
  36. playpic {
  37.   .play -r %picchan %picfile
  38. }
  39.  
  40. ps {
  41.   .timer $+ %picchan $+ _pics off  
  42. }
  43.  
  44. ;############## end Script ##############
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement