Akumu commented on a Page, Help coding Random Reply mIRC  -  Apr 10, 2014

Basic Script, I added one for Bye as well. Enjoy :)

on :text:Hello:#: {
set %reply $rand(1,5)
if (%reply == 1) { msg $chan Hey there }
elseif (%reply == 2) { msg $chan Hey }
elseif (%reply == 3) { msg $chan Hi! }
elseif (%reply == 4) { msg $chan Hello }
elseif (%reply == 5) { msg $chan Hey there, $nick }
}
on :text:Bye:#: {
set %reply2 $rand(1,5)
if (%reply2 == 1) { msg $chan Good bye }
elseif (%reply2 == 2) { msg $chan Cya }
elseif (%reply2 == 3) { msg $chan Take Care! }
elseif (%reply2 == 4) { msg $chan Bye }
elseif (%reply2 == 5) { msg $chan Peace out, $nick }

Vegito  -  Apr 11, 2014

Why are you halting?

Nos  -  Apr 11, 2014

yeah, should only be

.msg $chan .......... 

but just the same :)

Nos  -  Apr 11, 2014

wear point "." behind msg
if you do not want to see the writing of the script that runs
as I wrote above code

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.