mIRC Home    About    Download    Register    News    Help

Print Thread
#245032 09/04/14 02:02 PM
Joined: Mar 2014
Posts: 215
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 215
I was wondering if mIRC is capable of hosting a live version of a text file. I am making a points system for my twitch livestream, and the chat is spammed with the !points commands (i have a flood on but people just keep doing the command) so the text file being live on a webpage would make it much better.
Also is there a way to make the text file be sorted by most points first?


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball
Joined: Jan 2004
Posts: 1,359
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,359
Do you have a webserver to upload the file to? Do you want to use your own computer as a server? Do you want to host it on dropbox/google drive? mIRC can do anything you want.

As for sorting, you'll probably want to use the filter alias (if not just keeping it sorted in the first place). There are many more switches you can use to fit your needs.
Code:
/filter -cffteu 2 32 input.txt output.txt *


Originally Posted By: "input.txt"
c 3
d 4
a 1
b 2
e 5

Originally Posted By: "output.txt"
e 5
d 4
c 3
b 2
a 1

Joined: Mar 2014
Posts: 215
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 215
Originally Posted By: Loki12583
Do you have a webserver to upload the file to? Do you want to use your own computer as a server? Do you want to host it on dropbox/google drive? mIRC can do anything you want.

As for sorting, you'll probably want to use the filter alias (if not just keeping it sorted in the first place). There are many more switches you can use to fit your needs.
Code:
/filter -cffteu 2 32 input.txt output.txt *


Originally Posted By: "input.txt"
c 3
d 4
a 1
b 2
e 5

Originally Posted By: "output.txt"
e 5
d 4
c 3
b 2
a 1

Code:
/filter -cffteu 2 32 input.txt output.txt *

How would i issue this command when i say something like !sort?

also i would like to keep it hosted on google drive


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball
Joined: Jan 2004
Posts: 1,359
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,359
Then just save the file to your google drive folder. You should have enough examples and knowledge by now in order to make and manipulate your own text events and aliases. Read the help files.

Joined: Mar 2014
Posts: 72
A
Babel fish
Offline
Babel fish
A
Joined: Mar 2014
Posts: 72
Judge I Pm'd you please may you reply. Thanks


Link Copied to Clipboard