Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:LOAD:{
- SET %symbol.10 EvilFetus
- SET %symbol.11 MrDestructoid
- SET %symbol.12 BabyRage
- SET %symbol.13 OSsloth
- SET %symbol.14 AtGL
- SET %symbol.15 KappaPride
- SET %symbol.16 PraiseIt
- SET %symbol.8 Apple
- }
- on *:text:!thc:#: {
- var %flowersnick $nick
- var %points = $readini(%pointsfile, $findIDID(%flowersnick), points)
- var %ID = $readini(%pointsfile2, $findIDID(%flowersnick), name)
- IF (%ID == $null) {
- msg $chan $nick You haven't started earning bcoins in this channel yet! Type in !join to start earning them! :)
- }
- ELSEIF (%points >= 5000) {
- flowersetup
- }
- ELSE {
- msg $chan You don't have enough bcoins to play! You need $calc(20000 - %points) more bcoins to play!
- }
- }
- alias -l flowersetup {
- SET %flowerslot $nick
- SET %chanslots $chan
- var %flowernick $+(12345, $nick)
- IF ($timer(%flowernick) == $null) {
- TIMER [ $+ [ %flowernick ] ] 1 86400 msg $chan %flowerslot You may now play Twitch Hot Cold again! :)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %pointstoplay = 5000
- var %bcoinsused = $calc(%currentPoints - %pointstoplay)
- writeini -n %pointsfile $findIDID(%flowerslot) points %bcoinsused
- playpoker
- }
- ELSE {
- msg $chan $nick You can only play Twitch Hot Cold ocne per stream.
- }
- }
- alias -l playpoker {
- SET %col.8 %symbol. [ $+ [ $rand(10,16) ] ]
- SET %col.9 %symbol. [ $+ [ $rand(0,16) ] ]
- SET %col.10 %symbol. [ $+ [ $rand(7,11) ] ]
- var %ID = $findcoins(%megacoins, %megaID, $1)
- var %ID2 = $findcoins2(%megacoins2, %megaID2, $1)
- var %ID3 = $findcoins3(%megacoins3, %megaID3, $1)
- var %ID4 = $findcoins4(%megacoins4, %megaID4, $1)
- var %ID5 = $findcoins5(%megacoins5, %megaID5, $1)
- var %ID6 = $findcoins6(%megacoins6, %megaID6, $1)
- var %coins1 = $readini(%megacoins, $findcoins($nick), coin1)
- var %coins2 = $readini(%megacoins2, $findcoins2($nick), coin2)
- var %coins3 = $readini(%megacoins3, $findcoins3($nick), coin3)
- var %coins4 = $readini(%megacoins4, $findcoins4($nick), coin4)
- var %coins5 = $readini(%megacoins5, $findcoins5($nick), coin5)
- var %coins6 = $readini(%megacoins6, $findcoins6($nick), coin6)
- var %megacoinsfile = $read(C:\Users\Brad\Desktop\Songlist\megacoinsfile.txt,1)
- var %megacoinsfile2 = $read(C:\Users\Brad\Desktop\Songlist\megacoinsfile.txt,2)
- var %megacoinsfile3 = $read(C:\Users\Brad\Desktop\Songlist\megacoinsfile.txt,3)
- var %megacoinsfile4 = $read(C:\Users\Brad\Desktop\Songlist\megacoinsfile.txt,4)
- var %megacoinsfile5 = $read(C:\Users\Brad\Desktop\Songlist\megacoinsfile.txt,5)
- var %megacoinsfile6 = $read(C:\Users\Brad\Desktop\Songlist\megacoinsfile.txt,6)
- if (%col.8 == %symbol.10) || (%col.8 == %symbol.11) || (%col.8 == %symbol.12) {
- msg $chan %col.8 was chosen, %flowerslot unlucky BibleThump D:
- }
- elseif (%col.8 == %symbol.13) {
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 5000)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- msg $chan %symbol.13 has been chosen! %flowerslot gets their money back Kappa
- }
- elseif (%col.8 == %symbol.14) {
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 10000)
- var %jackpotwon2 = $calc(%currentPoints2 + 10000)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- msg $chan %symbol.14 has been chosen! %flowerslot wins 10,000 bcoins! PogChamp
- }
- elseif (%col.8 == %symbol.15) {
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 20000)
- var %jackpotwon2 = $calc(%currentPoints2 + 20000)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- msg $chan %symbol.15 has been chosen! %flowerslot wins 20,000 bcoins!! PogChamp Kreygasm
- }
- elseif (%col.8 == %symbol.16) && (%col.9 == %symbol.8) && (%col.10 == %symbol.10) {
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 1000000)
- var %jackpotwon2 = $calc(%currentPoints2 + 1000000)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- msg $chan %symbol.16 has been chosen! %flowerslot also wins the secret jackpot of 1,000,000 bcoins!
- }
- elseif (%col.8 == %symbol.16) && (%col.9 == %symbol.8) && (%ID == 0) {
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 30000)
- var %jackpotwon2 = $calc(%currentPoints2 + 30000)
- $addmega($nick)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- writeini -n %megacoins $findcoins(%flowerslot) coin1 $chr(40) 4Head $chr(41)
- msg $chan %symbol.16 has been chosen! %flowerslot wins 30,000 bcoins and the Megacoin %megacoinsfile ! PogChamp :D
- }
- elseif (%col.8 == %symbol.16) && (%col.9 == %symbol.8) && (%ID2 == 0) {
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 30000)
- var %jackpotwon2 = $calc(%currentPoints2 + 30000)
- $addmega2($nick)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- writeini -n %megacoins2 $findcoins2(%flowerslot) coin2 $chr(40) Shazam $chr(41)
- msg $chan %symbol.16 has been chosen! %flowerslot wins 30,000 bcoins and the Megacoin %megacoinsfile2 ! PogChamp :D
- }
- elseif (%col.8 == %symbol.16) && (%col.9 == %symbol.8) && (%ID3 == 0) {
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 30000)
- var %jackpotwon2 = $calc(%currentPoints2 + 30000)
- $addmega3($nick)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- writeini -n %megacoins3 $findcoins3(%flowerslot) coin3 $chr(40) PogChamp $chr(41)
- msg $chan %symbol.16 has been chosen! %flowerslot wins 30,000 bcoins and the Megacoin %megacoinsfile3 ! PogChamp :D
- }
- elseif (%col.8 == %symbol.16) && (%col.9 == %symbol.8) && (%ID4 == 0) {
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 30000)
- var %jackpotwon2 = $calc(%currentPoints2 + 30000)
- $addmega4($nick)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- writeini -n %megacoins4 $findcoins4(%flowerslot) coin4 $chr(40) GasJoker $chr(41)
- msg $chan %symbol.16 has been chosen! %flowerslot wins 30,000 bcoins and the Megacoin %megacoinsfile4 ! PogChamp :D
- }
- elseif (%col.8 == %symbol.16) && (%col.9 == %symbol.8) && (%ID5 == 0) {
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 30000)
- var %jackpotwon2 = $calc(%currentPoints2 + 30000)
- $addmega5($nick)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- writeini -n %megacoins5 $findcoins5(%flowerlot) coin5 $chr(40) deIlluminati $chr(41)
- msg $chan %symbol.16 has been chosen! %flowerslot wins 30,000 bcoins and the Megacoin %megacoinsfile5 ! PogChamp :D
- }
- elseif (%col.8 == %symbol.16) && (%col.9 == %symbol.8) && (%ID6 == 0) {
- var %currentPoints2 = $readini(%pointsfile2, $findIDIDIDIDID(%flowerslot), points)
- var %currentPoints = $readini(%pointsfile, $findIDID(%flowerslot), points)
- var %jackpotwon = $calc(%currentPoints + 30000)
- var %jackpotwon2 = $calc(%currentPoints2 + 30000)
- $addmega6($nick)
- writeini -n %pointsfile $findIDID(%flowerslot) points %jackpotwon
- writeini -n %pointsfile2 $findIDIDIDIDID(%flowerslot) points %jackpotwon2
- writeini -n %megacoins6 $findcoins6(%flowerslot) coin6 $chr(40) Kappa $chr(41)
- msg $chan %symbol.16 has been chosen! %flowerslot wins 30,000 bcoins and the Megacoin %megacoinsfile6 ! PogChamp :D
- }
- }
- alias -l addmega {
- writeini -n %megacoins $calc(%megaID + 1) name $1
- inc %megaID
- }
- alias -l addmega2 {
- writeini -n %megacoins2 $calc(%megaID2 + 1) name $1
- inc %megaID2
- }
- alias -l addmega3 {
- writeini -n %megacoins3 $calc(%megaID3 + 1) name $1
- inc %megaID3
- }
- alias -l addmega4 {
- writeini -n %megacoins4 $calc(%megaID4 + 1) name $1
- inc %megaID4
- }
- alias -l addmega5 {
- writeini -n %megacoins5 $calc(%megaID5 + 1) name $1
- inc %megaID5
- }
- alias -l addmega6 {
- writeini -n %megacoins6 $calc(%megaID6 + 1) name $1
- inc %megaID6
- }
- alias -l findID {
- var %file = $1
- var %ID = $2
- var %user = $3
- var %i = 1
- while (%i <= %ID) {
- if ($readini(%file, %i, name) == %user) {
- return %i
- }
- inc %i
- }
- return 0
- }
- alias -l findIDID {
- var %searchName = $1
- var %i = 1
- while (%i <= %pointsID) {
- var %name = $readini(%pointsfile, %i, name)
- if (%name == %searchName) {
- return %i
- }
- inc %i
- }
- return 0
- }
- ; {}
- alias -l findIDIDIDIDID {
- var %searchName = $nick
- var %i = 1
- while (%i <= %pointsID2) {
- var %name = $readini(%pointsfile2, %i, name)
- if (%name == %searchName) {
- return %i
- }
- inc %i
- }
- return 0
- }
- alias -l findcoins {
- var %searchName = $nick
- var %i = 1
- while (%i <= %megaID) {
- var %name = $readini(%megacoins, %i, name)
- if (%name == %searchName) {
- return %i
- }
- inc %i
- }
- return 0
- }
- alias -l findcoins2 {
- var %searchName = $nick
- var %i = 1
- while (%i <= %megaID2) {
- var %name = $readini(%megacoins2, %i, name)
- if (%name == %searchName) {
- return %i
- }
- inc %i
- }
- return 0
- }
- alias -l findcoins3 {
- var %searchName = $nick
- var %i = 1
- while (%i <= %megaID3) {
- var %name = $readini(%megacoins3, %i, name)
- if (%name == %searchName) {
- return %i
- }
- inc %i
- }
- return 0
- }
- alias -l findcoins4 {
- var %searchName = $nick
- var %i = 1
- while (%i <= %megaID4) {
- var %name = $readini(%megacoins4, %i, name)
- if (%name == %searchName) {
- return %i
- }
- inc %i
- }
- return 0
- }
- alias -l findcoins5 {
- var %searchName = $nick
- var %i = 1
- while (%i <= %megaID5) {
- var %name = $readini(%megacoins5, %i, name)
- if (%name == %searchName) {
- return %i
- }
- inc %i
- }
- return 0
- }
- alias -l findcoins6 {
- var %searchName = $nick
- var %i = 1
- while (%i <= %megaID6) {
- var %name = $readini(%megacoins6, %i, name)
- if (%name == %searchName) {
- return %i
- }
- inc %i
- }
- return 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement