Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dialog hottub {
- title "New Giveaway!"
- size -1 -1 140 80
- option dbu
- text "Channel:" 1, 20 10 30 10
- text "#Hot_Tub" 2, 50 10 30 10
- text "Prize:" 3, 20 30 100 10
- text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
- button "Yes" 5, 22 58 30 10, ok
- text "Given by:" 6, 20 20 30 10
- text "name:" 7, 50 20 90 10
- box "Join this giveaway?" 8, 15 50 100 20
- button "No" 9, 80 58 30 10, cancel
- text "Version 2.3" 10, 110 72 30 10
- text "Coded By Mark [1052508]" 11, 3 72 80 10
- }
- on *:TEXT:!dip*:#hot_tub: {
- if (%dialog == on) {
- dialog -mt hottub hottub
- timertub 1 10 dialog -x hottub
- if ($2- isnum) {
- /did -o hottub 4 1 $chr(36) $+ $comma($2-)
- }
- if ($2- !isnum) {
- /did -o hottub 4 1 $2-
- }
- /did -o hottub 7 1 $nick
- }
- }
- on *:DIALOG:hottub:sclick:5:{ timertub off | /join #hot_tub }
- on *:DIALOG:hottub:sclick:5:{ msg #Hot_Tub !splash }
- alias comma {
- var %a, %b = $regsub($ticks,$1,/\G([+-]?\d+?)(?=(?:\d{3})++(?=\.\d++$|$))/g,\1 $+ $chr(44),%a)
- return %a
- }
- alias giveaways {
- if ($1) {
- if ($1 == on) {
- /echo -a 10Dialog boxes for new giveaways are now turned on.
- /away 4If you think I'm auto joining giveaways I'm not. I'm using Mark's giveaway dialog box 2.2. It tells me who started the giveaway, the channel it's in, and the prize of the giveaway.
- set %dialog on
- }
- if ($1 == off) {
- /echo -a 10Dialog boxes for new giveaways are now turned off.
- set %dialog off
- /away
- }
- }
- }
- dialog thelounge1 {
- title "New Giveaway!"
- size -1 -1 140 80
- option dbu
- text "Channel:" 1, 20 10 30 10
- text "#TheLounge" 2, 50 10 30 10
- text "Prize:" 3, 20 30 100 10
- text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
- button "Yes" 5, 22 58 30 10, ok
- text "Given by:" 6, 20 20 30 10
- text "name:" 7, 50 20 90 10
- box "Join this giveaway?" 8, 15 50 100 20
- button "No" 9, 80 58 30 10, cancel
- text "Version 2.3" 10, 110 72 30 10
- text "Coded By Mark [1052508]" 11, 3 72 80 10
- }
- on *:TEXT:!give*:#thelounge: {
- if (%dialog == on) {
- /dialog -mt thelounge1 thelounge1
- timerlounge 1 10 dialog -x thelounge1
- if ($2- isnum) {
- /did -o thelounge1 4 1 $chr(36) $+ $comma($2-)
- }
- if ($2- !isnum) {
- /did -o thelounge1 4 1 $2-
- }
- /did -o thelounge1 7 1 $nick
- }
- }
- on *:DIALOG:thelounge1:sclick:5:{ timerlounge off | msg #thelounge !relax }
- on *:DIALOG:thelounge1:sclick:5:{ msg #thelounge !relax }
- dialog duckpond {
- title "New Giveaway!"
- size -1 -1 140 80
- option dbu
- text "Channel:" 1, 20 10 30 10
- text "#Duckpond" 2, 50 10 30 10
- text "Prize:" 3, 20 30 100 10
- text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
- button "Yes" 5, 22 58 30 10, ok
- text "Given by:" 6, 20 20 30 10
- text "name:" 7, 50 20 90 10
- box "Join this giveaway?" 8, 15 50 100 20
- button "No" 9, 80 58 30 10, cancel
- text "Version 2.3" 10, 110 72 30 10
- text "Coded By Mark [1052508]" 11, 3 72 80 10
- }
- on *:TEXT:!prize*:#duckpond: {
- if (%dialog == on) {
- dialog -mt duckpond duckpond
- timerduck 1 10 dialog -x duckpond
- if ($2- isnum) {
- /did -o duckpond 4 1 $chr(36) $+ $comma($2-)
- }
- if ($2- !isnum) {
- /did -o duckpond 4 1 $2-
- }
- /did -o duckpond 7 1 $nick
- }
- }
- on *:DIALOG:duckpond:sclick:5:{ timerduck off | /join #duckpond }
- on *:DIALOG:duckpond:sclick:5:{ msg #duckpond !join }
- on *:DIALOG:freebies:sclick:5:{ timerfree off | /join #freebies }
- on *:DIALOG:freebies:sclick:5:{ msg #freebies !lotto }
- on *:DIALOG:giveaway:sclick:5:{ timergive off | /join #giveaway }
- on *:DIALOG:giveaway:sclick:5:{ msg #giveaway !lotto }
- on *:DIALOG:party:sclick:5:{ timerparty off | /join #party }
- on *:DIALOG:party:sclick:5:{ msg #party !lotto }
- on *:TEXT:!lottostart*:#: {
- if (%dialog == on) {
- if ($chan == #freebies) {
- dialog -mt freebies freebies
- timerfree 1 10 dialog -x freebies
- if ($2- isnum) {
- /did -o freebies 4 1 $chr(36) $+ $comma($2-)
- }
- if ($2- !isnum) {
- /did -o freebies 4 1 $2-
- }
- /did -o freebies 7 1 $nick
- }
- if ($chan == #giveaway) {
- dialog -mt giveaway giveaway
- timergive 1 10 dialog -x giveaway
- if ($2- isnum) {
- /did -o giveaway 4 1 $chr(36) $+ $comma($2-)
- }
- if ($2- !isnum) {
- /did -o giveaway 4 1 $2-
- }
- /did -o giveaway 7 1 $nick
- }
- if ($chan == #party) {
- dialog -mt party party
- timerparty 1 10 dialog -x party
- if ($2- isnum) {
- /did -o party 4 1 $chr(36) $+ $comma($2-)
- }
- if ($2- !isnum) {
- /did -o party 4 1 $2-
- }
- /did -o party 7 1 $nick
- }
- }
- }
- dialog giveaway {
- title "New Giveaway!"
- size -1 -1 140 80
- option dbu
- text "Channel:" 1, 20 10 30 10
- text "#Giveaway" 2, 50 10 30 10
- text "Prize:" 3, 20 30 100 10
- text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
- button "Yes" 5, 22 58 30 10, ok
- text "Given by:" 6, 20 20 30 10
- text "name:" 7, 50 20 90 10
- box "Join this giveaway?" 8, 15 50 100 20
- button "No" 9, 80 58 30 10, cancel
- text "Version 2.3" 10, 110 72 30 10
- text "Coded By Mark [1052508]" 11, 3 72 80 10
- }
- dialog freebies {
- title "New Giveaway!"
- size -1 -1 140 80
- option dbu
- text "Channel:" 1, 20 10 30 10
- text "#Freebies" 2, 50 10 30 10
- text "Prize:" 3, 20 30 100 10
- text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
- button "Yes" 5, 22 58 30 10, ok
- text "Given by:" 6, 20 20 30 10
- text "name:" 7, 50 20 90 10
- box "Join this giveaway?" 8, 15 50 100 20
- button "No" 9, 80 58 30 10, cancel
- text "Version 2.3" 10, 110 72 30 10
- text "Coded By Mark [1052508]" 11, 3 72 80 10
- }
- dialog party {
- title "New Giveaway!"
- size -1 -1 140 80
- option dbu
- text "Channel:" 1, 20 10 30 10
- text "#party" 2, 50 10 30 10
- text "Prize:" 3, 20 30 100 10
- text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
- button "Yes" 5, 22 58 30 10, ok
- text "Given by:" 6, 20 20 30 10
- text "name:" 7, 50 20 90 10
- box "Join this giveaway?" 8, 15 50 100 20
- button "No" 9, 80 58 30 10, cancel
- text "Version 2.3" 10, 110 72 30 10
- text "Coded By Mark [1052508]" 11, 3 72 80 10
- }
- dialog playground {
- title "New Giveaway!"
- size -1 -1 140 80
- option dbu
- text "Channel:" 1, 20 10 30 10
- text "#Playground" 2, 50 10 35 10
- text "Prize:" 3, 20 30 100 10
- text "Prize dialog -mt freebies freebies dialog -mt freebies freebies dialog -mt freebies freebies " 4, 50 30 90 30
- button "Yes" 5, 22 58 30 10, ok
- text "Given by:" 6, 20 20 30 10
- text "name:" 7, 50 20 90 10
- box "Join this giveaway?" 8, 15 50 100 20
- button "No" 9, 80 58 30 10, cancel
- text "Version 2.3" 10, 110 72 30 10
- text "Coded By Mark [1052508]" 11, 3 72 80 10
- }
- on *:TEXT:!sit*:#playground: {
- if (%dialog == on) {
- /dialog -mt playground playground
- timersit 1 10 dialog -x playground
- if ($2- isnum) {
- /did -o playground 4 1 $chr(36) $+ $comma($2-)
- }
- if ($2- !isnum) {
- /did -o playground 4 1 $2-
- }
- /did -o playground 7 1 $nick
- }
- }
- on *:DIALOG:playground:sclick:5:{
- timersit off
- /join #playground
- }
- on *:DIALOG:playground:sclick5:{ msg #playground !push }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement