FlexHub Forum

Rightclick usercommands for ADC (Gbot)

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Rightclick usercommands for ADC (Gbot)
« on: May 06, 2015, 14:51:01 »
Here's an example (thanks to [IPC]DarkDragon™ ) on how to add Gbot rightclick commands for FlexHub:

Code: [Select]
!addcmd gbot-menu -o204 -p1 -u1 "ICMD Gbot\s-\sCommands/TV/Next TTBMSG\s%[mySID]\s+Next\\s%[line:Showname]\n CT3
ICMD Gbot\s-\sCommands/TV/Previus TTBMSG\s%[mySID]\s+Prev\\s%[line:Showname]\n CT3
ICMD Gbot\s-\sCommands/TV/Today TTBMSG\s%[mySID]\s+Today\n CT3
ICMD Gbot\s-\sCommands/TV/Tomorrow TTBMSG\s%[mySID]\s+Tomorrow\n CT3
ICMD Gbot\s-\sCommands/TV/Yesterday TTBMSG\s%[mySID]\s+Yesterday\n CT3
ICMD Gbot\s-\sCommands/TV/List TTBMSG\s%[mySID]\s+TVList\\s%[line:Optional\\ssearch\\sstring]\n CT3
ICMD Gbot\s-\sCommands/Release/Turn\son\smain\sannounce TTBMSG\s%[mySID]\s+RelMain\\sOn\n CT3
ICMD Gbot\s-\sCommands/Release/Turn\soff\smain\sannounce TTBMSG\s%[mySID]\s+RelMain\\sOff\n CT3
ICMD Gbot\s-\sCommands/Release/Unread TTBMSG\s%[mySID]\s+Rel\n CT3
ICMD Gbot\s-\sCommands/Release/All TTBMSG\s%[mySID]\s+Rel\\sAll\n CT3
ICMD Gbot\s-\sCommands/Release/Type TTBMSG\s%[mySID]\s+Rel\\s%[line:Type\\s-\\sXvid/TV-Rip/Xbox]\n CT3
ICMD Gbot\s-\sCommands/Release/Add TTBMSG\s%[mySID]\s+RelAdd\\s%[line:Nickname\\sif\\sother\\sthen\\syours]\\s%[line:Releasename]\\s%[line:Type\\s-\\sXvid/TV-Rip/Xbox\\setc.]\n CT3
ICMD Gbot\s-\sCommands/Release/Remove TTBMSG\s%[mySID]\s+RelRem\\s%[line:Releasename]\n CT3
ICMD Gbot\s-\sCommands/Release/Nuke\sAdd TTBMSG\s%[mySID]\s+Nuke\\s%[line:Releasename]\\s%[line:Reason]\n CT3
ICMD Gbot\s-\sCommands/Release/Nuke\sShow TTBMSG\s%[mySID]\s+NukeShow\n CT3
ICMD Gbot\s-\sCommands/Request/Make\sRequest TTBMSG\s%[mySID]\s+ReqAdd\\s%[line:Request]\n CT3
ICMD Gbot\s-\sCommands/Request/Fill\sRequest TTBMSG\s%[mySID]\s+ReqFill\\s%[line:Request\\sline]\n CT3
ICMD Gbot\s-\sCommands/Request/Show/All TTBMSG\s%[mySID]\s+Req\n CT3
ICMD Gbot\s-\sCommands/Request/Show/False TTBMSG\s%[mySID]\s+Req\\sFalse\n CT3
ICMD Gbot\s-\sCommands/Request/Show/True TTBMSG\s%[mySID]\s+Req\\sTrue\n CT3
ICMD Gbot\s-\sCommands/Request/Remove TTBMSG\s%[mySID]\s+ReqRem\\s%[line:Request\\sLine]\n CT3
ICMD Gbot\s-\sCommands/Poll/Show\sCurrent TTBMSG\s%[mySID]\s+Poll\n CT3
ICMD Gbot\s-\sCommands/Poll/Vote TTBMSG\s%[mySID]\s+Poll\\s%[line:1/2/3\\setc.]\n CT3
ICMD Gbot\s-\sCommands/Poll/Create TTBMSG\s%[mySID]\s+PollAdd\\s%[line:Question]§%[line:alt1§alt2§alt3]\n CT3
ICMD Gbot\s-\sCommands/Poll/Create/With\smassmess TTBMSG\s%[mySID]\s+PollAdd\\s%[line:Question]§%[line:no§yes§what]\n\s+mass\\sA\\snew\\sPoll\\shave\\sbeen\\smade,\\stype\\s+Poll\\sin\\smainchat\\sto\\scheck\\sit\\sout\\sor\\suse\\syour\\scommands\\sin\\syour\\srightclick-menu.\n\n CT3
ICMD Gbot\s-\sCommands/Poll/Close TTBMSG\s%[mySID]\s+PollClose\n CT3
ICMD Gbot\s-\sCommands/Poll/History TTBMSG\s%[mySID]\s+PollHist\n CT3
ICMD Gbot\s-\sCommands/Poll/Remove TTBMSG\s%[mySID]\s+PollRem \n CT3
ICMD Gbot\s-\sCommands/News/Read/All TTBMSG\s%[mySID]\s+News\\sAll\n CT3
ICMD Gbot\s-\sCommands/News/Read/Unread TTBMSG\s%[mySID]\s+News\n CT3
ICMD Gbot\s-\sCommands/News/Read/1-999 TTBMSG\s%[mySID]\s+News\\s%[line:(5)\\sshows\\sthe\\slatest\\s5\\snews]\n CT3
ICMD Gbot\s-\sCommands/News/Add TTBMSG\s%[mySID]\s+NewsAdd\\s%[line:News]\n CT3
ICMD Gbot\s-\sCommands/News/Remove TTBMSG\s%[mySID]\s+NewsRem\\s%[line:News\\sline]\n CT3
ICMD Gbot\s-\sCommands/Rss/Read TTBMSG\s%[mySID]\s+Rss\\s%[line:ID]\n CT3
ICMD Gbot\s-\sCommands/Rss/Add TTBMSG\s%[mySID]\s+RssAdd\\s%[line:Name\\soff\\sFeed]\\s%[line:url\\soff\\sRss]\n CT3
ICMD Gbot\s-\sCommands/Rss/Remove TTBMSG\s%[mySID]\s+RssRem\\s%[line:Name]\n CT3
ICMD Gbot\s-\sCommands/Rss/List TTBMSG\s%[mySID]\s+Rss\n CT3
ICMD Gbot\s-\sCommands/Radio/Whats\sPlaying TTBMSG\s%[mySID]\s+Radio\n CT3
ICMD Gbot\s-\sCommands/Radio/On TTBMSG\s%[mySID]\s+Radio\\sOn\n CT3
ICMD Gbot\s-\sCommands/Radio/Off TTBMSG\s%[mySID]\s+Radio\\sOff\n CT3
ICMD Gbot\s-\sCommands/Greet/On TTBMSG\s%[mySID]\s+Greet\\sOn\n CT3
ICMD Gbot\s-\sCommands/Greet/Off TTBMSG\s%[mySID]\s+Greet\\sOff\n CT3
ICMD Gbot\s-\sCommands/Lasteen TTBMSG\s%[mySID]\s+Lastseen\\s%[line:Nick\\sor\\sTag]\n CT3
ICMD Gbot\s-\sCommands/Offline\sMessage TTBMSG\s%[mySID]\s+Opm\\s%[line:Nick]\\s%[line:Message]\n CT3
ICMD Gbot\s-\sCommands/Massmessage TTBMSG\s%[mySID]\s+Mass\\s%[line:Message]\n CT3
ICMD Gbot\s-\sCommands/Reconnect\sBot TTBMSG\s%[mySID]\s+Reconnect\n CT3
ICMD Gbot\s-\sCommands/Disconnect\sBot TTBMSG\s%[mySID]\s+Disconnect\n CT3
"
« Last Edit: May 06, 2015, 14:53:06 by FlipFlop™ »
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Offline þ††i£øû]v[™

  • ***
  • 103
  • ::.(Ô;Ô).::
Re: Rightclick usercommands for ADC (Gbot)
« Reply #1 on: May 06, 2015, 15:53:46 »
 Hello,  Oh fine, good job !  thanks you
:)
For NMDC : BotName = GboTiNeR  BotMenu = ..:::/_/#GboTiNeR              :D
Quote
!addcmd ..:::/_/#GboTiNeR -o332 -p1 -m10 -u1 "$UserCommand 0 15|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Bothelp$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Bot&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Greet\ On$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Greet On&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Greet\ Off$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Greet Off&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Lasteen$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Lastseen %[line:Nick or Tag]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Radio\ Whats Playing$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Radio&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Radio\ On$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Radio On&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Radio\ Off$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Radio Off&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ Turn on main announce$$To: GboTiNeR From: %[mynick] $<%[mynick]> +RelMain On&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ Turn off main announce$$To: GboTiNeR From: %[mynick] $<%[mynick]> +RelMain Off&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ Unread$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Rel&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ All$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Rel All&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ Type$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Rel %[line:Type - Xvid/TV-Rip/Xbox]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ Add Type - Extension$$To: GboTiNeR From: %[mynick] $<%[mynick]> +RelAdd %[line:Nickname if other then yours] %[line:Releasename] %[line:Type - Xvid/TV-Rip/Xbox etc.]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ Remove$$To: GboTiNeR From: %[mynick] $<%[mynick]> +RelRem %[line:Releasename]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ Nuke Add$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Nuke %[line:Releasename] %[line:Reason]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Release\ Nuke Show$$To: GboTiNeR From: %[mynick] $<%[mynick]> +NukeShow&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Poll\ Show Current$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Poll&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Poll\ Vote$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Poll %[line:1/2/3 etc.]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Poll\ Create$$To: GboTiNeR From: %[mynick] $<%[mynick]> +PollAdd %[line:Question]§%[line:alt1§alt2§alt3]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Poll\ Create\ With massmess$$To: GboTiNeR From: %[mynick] $<%[mynick]> +PollAdd %[line:Question]§%[line:no§yes§what]&#124;$To: GboTiNeR From: %[mynick] $<%[mynick]> +Mass A new Poll have been made, type +Poll in mainchat to check it out or use your commands in you rightclick-menu.&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Poll\ Close$$To: GboTiNeR From: %[mynick] $<%[mynick]> +PollClose&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Poll\ History$$To: GboTiNeR From: %[mynick] $<%[mynick]> +PollHist&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Poll\ Remove$$To: GboTiNeR From: %[mynick] $<%[mynick]> +PollRem &#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ News\ Read\ All$$To: GboTiNeR From: %[mynick] $<%[mynick]> +News All&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ News\ Read\ Unread$$To: GboTiNeR From: %[mynick] $<%[mynick]> +News&#124|$UserCommand 1 3 ..:::/_/#GboTiNeR\ News\ Read\ 1-999$$To: GboTiNeR From: %[mynick] $<%[mynick]> +News %[line:(5) shows the latest 5 news]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ News\ Add$$To: GboTiNeR From: %[mynick] $<%[mynick]> +NewsAdd %[line:News]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ News\ Remove$$To: GboTiNeR From: %[mynick] $<%[mynick]> +NewsRem %[line:News line]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Request\ Make Request$$To: GboTiNeR From: %[mynick] $<%[mynick]> +ReqAdd %[line:Request]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Request\ Found Request$$To: GboTiNeR From: %[mynick] $<%[mynick]> +ReqDone %[line:Request line]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Request\ Show\ All$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Req&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Request\ Show\ False$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Req False&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Request\ Show\ True$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Req True&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Request\ Remove$$To: GboTiNeR From: %[mynick] $<%[mynick]> +ReqRem %[line:Request Line]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Rss\ Read$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Rss %[line:ID]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Rss\ Add $$To: GboTiNeR From: %[mynick] $<%[mynick]> +RssAdd %[line:Name off Feed] %[line:url off Rss]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Rss\ Remove$$To: GboTiNeR From: %[mynick] $<%[mynick]> +RssRem %[line:Name]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Rss\ List$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Rss&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ TV\ Next$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Next %[line:Showname]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ TV\ Previus$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Prev %[line:Showname]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ TV\ Today$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Today&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ TV\ Tomorrow$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Tomorrow&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ TV\ Yesterday$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Yesterday&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ TV\ List$$To: GboTiNeR From: %[mynick] $<%[mynick]> +TVList %[line:Optional search string]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Offline Message$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Opm %[line:Nick] %[line:Message]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Massmessage$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Mass %[line:Message]&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Reconnect Bot$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Reconnect&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Disconnect Bot$$To: GboTiNeR From: %[mynick] $<%[mynick]> +Disconnect&#124;|$UserCommand 1 3 ..:::/_/#GboTiNeR\ Version$$To: GboTiNeR From: %[mynick] $<%[mynick]> +version&#124;|"

Good sunday :)   Best regards
« Last Edit: May 09, 2015, 23:47:03 by þ††i£øû]v[™ »
þ††i£øû]v[™