[Twitch] !py emote script (pyramid) - 08/06/16 07:16 AM
Hello I found this script that works great
But I want it to be more advanced so if I type !py Kappa 10 it should do a 10 Kappa pyramid. I dont know how to set it up.
so the command should be
!py [pyramid text] [amount] [seconds between each msg]
so If I do
!py hello 3 3
the output would be
I hope that explains it.
Code:
on *:TEXT:Salty:#: { if ($nick == yournick) { .timer 1 2 .msg $chan PJSalt .timer 1 4 .msg $chan PJSalt PJSalt .timer 1 6 .msg $chan PJSalt PJSalt PJSalt .timer 1 8 .msg $chan PJSalt PJSalt .timer 1 10 .msg $chan PJSalt } }
But I want it to be more advanced so if I type !py Kappa 10 it should do a 10 Kappa pyramid. I dont know how to set it up.
so the command should be
!py [pyramid text] [amount] [seconds between each msg]
so If I do
!py hello 3 3
the output would be
Code:
.timer 1 3 .msg $chan hello .timer 1 6 .msg $chan hello hello .timer 1 9 .msg $chan hello hello hello .timer 1 12 .msg $chan hello hello .timer 1 15 .msg $chan hello
I hope that explains it.