Yawhatnever commented on a Page, Some Bot Commands   -  May 11, 2012

@Sorasyn I think $nick() supports nick prefixes too but as an undocumented feature. I might be wrong but investigate for yourself.

if (!$2) || (!$3) || (!$4) could be shortened to if (!$4) because if the fourth token exists then the second and third must exist.

just be aware that !$4 means the fourth token could be $null, 0, or $false. if the command needs a specific type of input you might want to use comparisons such as isnum (for days).

$chan and # are interchangeable as well, just a tip.

Keep it up.

 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.