mibbit link gen

By Dark_Aaron on Dec 06, 2008

Here is a simple mibbit link gen

usage: !mibgen chan

<@Aaron> !mibgen verbalnode
<+TheBot> Please wait while i generate the link
<+TheBot> here is the link: http://widget.mibbit.com/?settings=7bf016e8b4344030a3802ed9e5792314&server=hakd.verbalnode.net&channel=%32verbalnode&noServerTab=false

on *:TEXT:!mibgen *:#: { if (!$($+(%,mibitflood,.,$nick),2)) { set -u3 $+(%,mibitflood,.,$nick) on | msg # $iif($chr(35) !isin $2,Error Please Enter A Channel To Join. ex: #Lobby,Here is the link: $+(http://widget.mibbit.com/?settings=7bf016e8b4344030a3802ed9e5792314&server=,$server,&channel=%32,$2,&noServerTab=false)) } }

Comments

Sign in to comment.
Spanky   -  Jan 26, 2009
 on *:TEXT:!mibgen *:#: { if (!$($+(%,mibitflood,.,$nick),2)) { set -u3 $+(%,mibitflood,.,$nick) on | msg # $iif($chr(35) !isin $2,Error Please Enter A Channel To Join. ex: #Lobby,Here is the link: $+(http://widget.mibbit.com/?settings=7bf016e8b4344030a3802ed9e5792314&server=,$server,&channel=%32,$2,&noServerTab=false)) } } 

one problem napa u have to take out the # of the chan name on the url ;P but it works and ur version Dark_Aaron's doent work atall Invalid format: $iif but other than that it would be a good idea.

 Respond  
napa182   -  Dec 06, 2008

abit of an useless code but you can just do

on *:TEXT:!mibgen *:#: { if (!$($+(%,mibitflood,.,$nick),2)) { set -u3 $+(%,mibitflood,.,$nick) on | msg # $iif($chr(35) !isin $2,Error Please Enter A Channel To Join. ex: #Lobby,Here is the link: $+(http://widget.mibbit.com/?settings=7bf016e8b4344030a3802ed9e5792314&server=,$server,&channel=%32,$2,&noServerTab=false)) } }

added flood protection and abit of error checking.

 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.