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)) } }
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.
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.