I'm wanting to make the bot be able to post multiple lines with a delay in between. So it could be like.
Snes_Nerd: !SantaSnes
SnesBot: Looking for a winner.
Delay
SnesBot:Let's see who has been naughty and nice.
Delay
SnesBot: [GIVEAWAY] INSERTNAMEHERE Just won the giveaway, I will be sending you a PM via Twitch. [GIVEAWAY]
Delay
SnesBot: Ho Ho Ho
If someone would be able to help me out that would be awesome. I can't seem to figure out how to make a delay in between messages for one command.
on *:text:!SantaSnes:#:{
if ((%floodSantaSnes) || ($($+(%,floodarab.,$nick),2))) { return }
if ($nick isop #) { msg # /me [GIVEAWAY]: $nick(#,$rand(1,$nick(#,0))) Just won the giveaway, I will be sending you a PM via Twitch. [GIVEAWAY] }
else { msg # $nick you do not have permission to use this command! }
}
It has been answered.
on *:text:!SantaSnes:#:{
if ((%floodSantaSnes) || ($($+(%,floodSantaSnes.,$nick),2))) { return }
set -u10 %floodSantaSnes On
set -u30 %floodSantaSnes. $- $nick On
if ($nick isop #) { msg # /me Looking for a winner. }
if ($nick isop #) { .timer 1 5 msg # /me Let's see who's been naughty or nice! }
if ($nick isop #) { .timer 1 10 msg # /me [GIVEAWAY]: $nick(#,$rand(1,$nick(#,0))) Just won the giveaway, I will be sending you a PM via Twitch. [GIVEAWAY] }
if ($nick isop #) { .timer 1 15 msg # /me Ho Ho Ho }
else { msg # $nick you do not have permission to use this command! }
}