mIRC Home    About    Download    Register    News    Help

Print Thread
#243971 13/01/14 10:06 PM
Joined: Jan 2014
Posts: 1
L
Mostly harmless
OP Offline
Mostly harmless
L
Joined: Jan 2014
Posts: 1
As the title says, I am looking for someone that can make me some scripts for my mIRC bot for my stream.

I already have a point script set up to give viewers points as they watch the stream. I just need help create scripts to use those points.

Such as

Giveaways
Auctions
Ranks
Voting (Polls)
and minigames such as Dueling or Rock Paper Scissors

All of these using the points of course. If you want more info post here or msg me.

Also post your price. Or I can also give shoutouts and credit to you on my stream of course.

I am not that big of a streamer, I average about 70-100 viewers each day and growing as I stream. Have about 1.7k Followers.

Joined: Mar 2014
Posts: 65
E
Babel fish
Offline
Babel fish
E
Joined: Mar 2014
Posts: 65
Hmm I may not be a pro, but I wrote this simple code for you to use, Rock paper scissors and what not. Not sure what your points script looks like, but if you coded it, should be easy enough for you too add.

on *:TEXT:!rps *:#: {
if ($2 == scissors) {
var %scissors = $rand(1,3)
if (%scissors == 1) { msg # ROCK -- Rock beats Scissors! You Lose $upper $nick !
msg # .timeout $nick 15 }
if (%scissors == 2) { msg # PAPER -- Hmm, I loose. Congrats $nick }
if (%scissors == 3) { msg # SCISSORS -- Dang it, it's a draw. }
}
if ($2 == paper) {
var %paper = $rand(1,3)
if (%paper == 1) { msg # SCISSORS -- Scissors beats Paper! You Lose $upper $nick !
msg # .timeout $nick 15 }
if (%paper == 2) { msg # ROCK -- Hmm, I loose. Congrats $nick }
if (%paper == 3) { msg # PAPER -- Dang it, it's a draw. }
}
if ($2 == rock) {
var %rock = $rand(1,3)
if (%rock == 1) { msg # PAPER -- Paper beats Rock! You Lose $upper $nick !
msg # .timeout $nick 15 }
if (%rock == 2) { msg # SCISSORS -- Hmm, I loose. Congrats $nick }
if (%rock == 3) { msg # ROCK -- Dang it, it's a draw. }
}
}


If you want it level based, so you play three times and if you loose on the third time, you will want to go through and add in Flood commands such as

if ((%roundone) || ($($+(%,roundone.,$nick),2))) { ROUND TWO GOES HERE }
set -u10 %roundone On
set -u30 %roundone. $+ $nick On

Well that was my charity work for the day.

Have a good one.

***************************************
UPDATE
***************************************

Here is something you can use for Dueling on

*:TEXT:!Roulette:#: {
if ((%floodroulette) || ($($+(%,floodroulette.,$nick),2))) { return }
set -u10 %floodroulette On
set -u30 %floodroulette. $+ $nick On
if ($nick isop #) {
var %randmods = $rand(1,4)
if (%randmods == 1) msg $chan Roulette clicks!...Empty...You live to see another day $nick
if (%randmods == 2) msg $chan BANG! ... You were shot, but live! There must be secert powers in your mod armor $nick
if (%randmods == 3) msg $chan BANG! ... The bullet missed, you only have your born moderation powers to thank $nick
if (%randmods == 4) msg $chan $nick starts to shake, $nick tries to pull the trigger but can't. $nick drops the gun, $nick isn't up to the challenge of Roulette.
}
else {
var %randnumber = $rand(1,4)
if (%randnumber == 1) { msg $chan BANG!... Roulette claims another soul. R.I.P $nick
msg $chan /timeout $nick 600 }
if (%randnumber == 2) { msg $chan Roulette clicks!...Empty...You live to see another day $nick }
if (%randnumber == 3) { msg $chan BANG!... $nick Was a great viewer, and now $nick is a dead viewer. R.I.P
msg $chan /timeout $nick 600 }
if (%randnumber == 4) { msg $chan $nick starts to shake, $nick tries to pull the trigger but can't. $nick drops the gun, $nick isn't up to the challenge of Roulette. }

}
}

Last edited by Exuviax; 06/04/14 06:57 AM.

I do things with stuff that makes other things do stuff.
Joined: Mar 2014
Posts: 65
E
Babel fish
Offline
Babel fish
E
Joined: Mar 2014
Posts: 65
Hmm, If you raid my channel I might help you out a little more. laugh


I do things with stuff that makes other things do stuff.
Joined: Mar 2014
Posts: 215
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 215
That was a awesome script there smile had a fun pre-stream chat yesterday


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball
Joined: Feb 2014
Posts: 5
O
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
O
Joined: Feb 2014
Posts: 5
Originally Posted By: Exuviax

*:TEXT:!Roulette:#: {
if ((%floodroulette) || ($($+(%,floodroulette.,$nick),2))) { return }
set -u10 %floodroulette On
set -u30 %floodroulette. $+ $nick On
if ($nick isop #) {
var %randmods = $rand(1,4)
if (%randmods == 1) msg $chan Roulette clicks!...Empty...You live to see another day $nick
if (%randmods == 2) msg $chan BANG! ... You were shot, but live! There must be secert powers in your mod armor $nick
if (%randmods == 3) msg $chan BANG! ... The bullet missed, you only have your born moderation powers to thank $nick
if (%randmods == 4) msg $chan $nick starts to shake, $nick tries to pull the trigger but can't. $nick drops the gun, $nick isn't up to the challenge of Roulette.
}
else {
var %randnumber = $rand(1,4)
if (%randnumber == 1) { msg $chan BANG!... Roulette claims another soul. R.I.P $nick
msg $chan /timeout $nick 600 }
if (%randnumber == 2) { msg $chan Roulette clicks!...Empty...You live to see another day $nick }
if (%randnumber == 3) { msg $chan BANG!... $nick Was a great viewer, and now $nick is a dead viewer. R.I.P
msg $chan /timeout $nick 600 }
if (%randnumber == 4) { msg $chan $nick starts to shake, $nick tries to pull the trigger but can't. $nick drops the gun, $nick isn't up to the challenge of Roulette. }

}
}

is there a way to add a on and off command for this?

Joined: Mar 2014
Posts: 215
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 215
Originally Posted By: Orangefanta

is there a way to add a on and off command for this?

Putting it in a separate remote.ini and making a command that loads it and unloads it

Last edited by judge2020; 08/04/14 12:33 AM. Reason: spelling error correction

#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball
Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
Originally Posted By: judge2020
Putting it in a separate remote.ini and making a command that loads it and unloads it

No, use groups. And don't store scripts as ini files.

Code:
#somegroup on
on *:text...
#somegroup end

/enable somegroup
/disable somegroup

Joined: Apr 2014
Posts: 191
B
Vogon poet
Offline
Vogon poet
B
Joined: Apr 2014
Posts: 191
Code:
On *:TEXT:!Roulette*:#:{
  if ($nick isop #) && ($2) {
    if ($istok(on off,$2,32)) { set %roulette.status $2 }
    return
  }
  if (%floodroulette) || ($($+(%,floodroulette.,$nick),2)) || (%roulette.status == off) { return }

  .... rest of the code ...

}


!Roulette off (to disable roulette)
!Roulette on (to enable)
Command only can be used by moderators.

Joined: Feb 2014
Posts: 5
O
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
O
Joined: Feb 2014
Posts: 5
Originally Posted By: blessing
Code:
On *:TEXT:!Roulette*:#:{
  if ($nick isop #) && ($2) {
    if ($istok(on off,$2,32)) { set %roulette.status $2 }
    return
  }
  if (%floodroulette) || ($($+(%,floodroulette.,$nick),2)) || (%roulette.status == off) { return }

  .... rest of the code ...

}


!Roulette off (to disable roulette)
!Roulette on (to enable)
Command only can be used by moderators.


Works! Thanks so much

Joined: Jul 2014
Posts: 19
D
Pikka bird
Offline
Pikka bird
D
Joined: Jul 2014
Posts: 19
The roulette dosent work on non op users. I type !roulette dosent work, no message comes up. Plus what do you mean with putting the script in a different remote? can you make several remotes? Also. The on/off script.. What do you mean with .... rest of the code .....


Link Copied to Clipboard