Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. // !setrace [streamer] -> set dualstream link
  2. // !stoprace -> to clear dualstream link
  3. // !race -> to show link
  4.  
  5. on $*:text:/!setrace /Si:#:{
  6. if (($nick isop #) && ($2 != %null)) {
  7. if (%ds.[ $+ [ $chan ] ] == 1) {
  8. }
  9. else {
  10. set %ds. [ $+ [ $chan ] ] $2
  11. set %ds.actif. [ $+ [ $chan ] ] 1
  12. var %messagelink $+(http://www.kadgar.net/live/,$right($chan, -1),/,$2)
  13. var %message DualStream set to $3 ->
  14. msg $chan /me %message %messagelink
  15. .timerrace 0 20 msg $chan /me %messagelink
  16. //0= always repeate// //1800sec//
  17. }
  18. }
  19. }
  20.  
  21. on *:text:!stoprace:#:{
  22. if (($nick isop #) && (%ds.actif. [ $+ [ $chan ] ] == 1)) {
  23. .timerrace off
  24. unset %ds. [ $+ [ $chan ] ]
  25. unset %ds.actif. [ $+ [ $chan ] ]
  26. msg $chan /me Stopped
  27. }
  28. }
  29.  
  30.  
  31. on *:text:!race:#:{
  32. if (($($+(%,floodds.,$chan),2)) || ($($+(%,floodds.,$chan,.,$nick),2))) { return }
  33. if (%ds.actif. [ $+ [ $chan ] ] == 1) {
  34. set -u10 $+(%,floodds,.,$chan) On
  35. set -u30 $+(%,floodds,.,$chan,.,$nick) On
  36. if (%quiet != 1) {
  37. var %ds = %ds. [ $+ [ $chan ] ]
  38. msg $chan /me $+(http://www.kadgar.net/live/,$right($chan, -1),/,%ds)
  39. }
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement