Alukraid commented on a Page, Strawpoll Creator  -  Jun 14, 2015

How would I go about changing this to be ran remotely through my bot? So I can do, for example, !strawpoll on a different mirc client. /supernewb

SReject  -  Jun 14, 2015

on a new line between #strawpoll_creator on and alias strawpoll { paste the following code:

on $*:TEXT:/^!strawpoll (.*)$/i:#:{
  if ($nick isop # && $strawpoll.parse($regml(1))) {
    tokenize 32 $v1
    if (!$1) {
      msg # Unable to create strawpoll: $2-
    }
    else {
      msg # Strawpoll Created: $2-
    }
  }
}
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.