Took Zmodem's method and reproduced it on my own.
It's just a one second delay now.
Although I could have used a socket, I felt like practicing my tokens instead.
;Alias
alias rickroll { if (!$1) { echo -a Syntax: /rickroll [nick] } | else { var %a We're no strangers to love|You know the rules and so do I|A full commitment's what I'm thinking of|You wouldn't get this from any other guy|, %b I just wanna tell you how I'm feeling|Gotta make you understand|, %c Never gonna give you up|Never gonna let you down|Never gonna run around and desert you|Never gonna make you cry|Never gonna say goodbye|Never gonna tell a lie and hurt you|, %d We've known each other for so long|Your heart's been aching, but|You're too shy to say it|Inside we both know what's been going on|We know the game and we're gonna play it|, %e And if you ask me how I'm feeling|Don't tell me you're too blind to see|, %f (Oooooooh, Give you up)|(Oooooooh, Give you UP)|Never gonna give, never gonna give|(Give you up)|Never gonna give, never gonna give|(Give you up)|, %t $+(%a,%b,%c,%d,%e,%c,%c,%f,%d,%b,%c,%c,%c), %p $1, %m $numtok(%t,124), %i 1 | while (%i < %m) { .timer $+ %i 1 %i .msg %p $gettok(%t,%i,124) | inc %i } } }
;Bot command
on *:text:!rickroll:#: {
if (!$istok(%rickrolls,$wildsite,40)) { set %rickrolls $addtok(%rickrolls,$wildsite,44) | rickroll $nick }
}
Annoying, goofy, but creative. 6/10, I agree. But, how about this:
alias rickroll {
var %1 = $1, %t = We're no strangers to love|You know the rules and so do I|A full commitment's what I'm thinking of|You wouldn't get this from any other guy|I just wanna tell you how I'm feeling|Gotta make you understand|Never gonna give you up|Never gonna let you down|Never gonna run around and desert you|Never gonna make you cry|Never gonna say goodbye|Never gonna tell a lie and hurt you|We've know each other for so long|Your heart's been aching|But you're too shy to say it|Inside we both know what's been going on|We know the game and we're gonna play it|And if you ask me how I'm feeling|Don't tell me you're too blind to see|Never gonna give you up|Never gonna say goodbye|Never gonna tell a lie and hurt you|Give you up; give you up|Give you up; give you up|Never gonna give;|Never gonna give; give you up|Never gonna give;|Never gonna give; give you up|I just wanna tell you how I'm feeling|Gotta make you understand, %m = $gettok(%t,0,124), %i = 1
while (%i <= %m) {
if ((%i >= 21) && (%i <= 23)) goto end
.timer $+ %i 1 %i .msg %1 $gettok(%t,%i,124)
:end
inc %i
}
}
Will be more parser-friendly, as well as saving you .5kbytes. Have fun!
instead of using "alias timing1, alias timing2, alias timing3,..." You should just put it all under one alias.
alias timing {
.timer33 1 1 msg $1 We're no strangers to love
.timer32 1 2 msg $1 You know the rules and so do I
.timer31 1 3 msg $1 A full commitment's what I'm thinking of
.timer30 1 4 msg $1 You wouldn't get this from any other guy
.timer29 1 5 msg $1 I just wanna tell you how I'm feeling
.timer28 1 6 msg $1 Gotta make you understand
.timer27 1 7 msg $1 Never gonna give you up
.timer26 1 8 msg $1 Never gonna let you down
.timer25 1 9 msg $1 Never gonna run around and desert you
.timer24 1 10 msg $1 Never gonna make you cry
.timer23 1 11 msg $1 Never gonna say goodbye
.timer22 1 12 msg $1 Never gonna tell a lie and hurt you
.timer21 1 13 msg $1 We've know each other for so long
.timer20 1 14 msg $1 Your heart's been aching
.timer19 1 15 msg $1 But you're too shy to say it
.timer18 1 16 msg $1 Inside we both know what's been going on
.timer17 1 17 msg $1 We know the game and we're gonna play it
.timer16 1 18 msg $1 And if you ask me how I'm feeling
.timer15 1 19 msg $1 Don't tell me you're too blind to see
.timer14 1 20 msg $1 Never gonna give you up
.timer10 1 24 msg $1 Never gonna say goodbye
.timer9 1 25 msg $1 Never gonna tell a lie and hurt you
.timer8 1 26 msg $1 Give you up, give you up
.timer7 1 27 msg $1 Give you up, give you up
.timer6 1 28 msg $1 Never gonna give,
.timer5 1 29 msg $1 Never gonna give, give you up
.timer4 1 30 msg $1 Never gonna give,
.timer3 1 31 msg $1 Never gonna give, give you up
.timer2 1 32 msg $1 I just wanna tell you how I'm feeling
.timer 1 33 msg $1 Gotta make you understand
}