Soubi commented on a Page, Hoss the Partybot  -  Sep 30, 2010

I'm suprised that no on has pointed this out yet, but when you are typing

Code:

on :text:Hoss I love you:#:{
msg $chan I love you too, $+ $nick }

on :text:Hoss, I love you:#:{
msg $chan I love you too, $+ $nick }

on :text:Hoss ilu:#:{
msg $chan I love you too, $+ $nick }

on :text:Hoss is boss:#:{
msg $chan You know it! B) }

:

You can simplify it down to something like

Code:

on Text::#: {
if ($1- == Hoss is boss) msg $chan You know it! B)
if ($1- == blah blah) msg $chan and so-forth
}

:

Also..if it is just a one code line..like " msg $chan You know it! B)" you dont need the brackets around that..but if it is like a code " msg $chan You know it! B) | me bites $nick" you can just do it in 2 lines..take away the " | " but you do need brackets around that. :)

 Respond  
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.