Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // !setrace [streamer] -> set dualstream link
- // !stoprace -> to clear dualstream link
- // !race -> to show link
- on $*:text:/!setrace /Si:#:{
- if (($nick isop #) && ($2 != %null)) {
- if (%ds.[ $+ [ $chan ] ] == 1) {
- }
- else {
- set %ds. [ $+ [ $chan ] ] $2
- set %ds.actif. [ $+ [ $chan ] ] 1
- var %messagelink $+(http://www.kadgar.net/live/,$right($chan, -1),/,$2)
- var %message DualStream set to $3 ->
- msg $chan /me %message %messagelink
- .timerrace 0 20 msg $chan /me %messagelink
- //0= always repeate// //1800sec//
- }
- }
- }
- on *:text:!stoprace:#:{
- if (($nick isop #) && (%ds.actif. [ $+ [ $chan ] ] == 1)) {
- .timerrace off
- unset %ds. [ $+ [ $chan ] ]
- unset %ds.actif. [ $+ [ $chan ] ]
- msg $chan /me Stopped
- }
- }
- on *:text:!race:#:{
- if (($($+(%,floodds.,$chan),2)) || ($($+(%,floodds.,$chan,.,$nick),2))) { return }
- if (%ds.actif. [ $+ [ $chan ] ] == 1) {
- set -u10 $+(%,floodds,.,$chan) On
- set -u30 $+(%,floodds,.,$chan,.,$nick) On
- if (%quiet != 1) {
- var %ds = %ds. [ $+ [ $chan ] ]
- msg $chan /me $+(http://www.kadgar.net/live/,$right($chan, -1),/,%ds)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement