mIRC Home    About    Download    Register    News    Help

Print Thread
#247269 25/07/14 03:21 PM
Joined: Mar 2014
Posts: 65
E
Exuviax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Mar 2014
Posts: 65
Would their be a way to have the bot open up a window to show a live counting system for busy chats. So say I want to open a vote, the options are apple and pear

!vote apple
This will make the bot add one vote to apple

!vote pear
This will make the bot add one vote to Pear

In the window that opened, I can see in real time as people vote for things.


I do things with stuff that makes other things do stuff.
Exuviax #247270 25/07/14 03:41 PM
Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
You're looking for something like this then. Read up on /window in the help files to get what you want.
Code:
on *:text:!vote *:#: { 
  if ($2 == Pear) inc %pear
  elseif ($2 == Apple) inc %apple
  window @moo
  aline @moo Apple: %apple - Pear: %pear
}


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net

Link Copied to Clipboard