mIRC Home    About    Download    Register    News    Help

Print Thread
[Request} Adding commands through twitch chat #254990 12/09/15 06:47 PM
Joined: Nov 2014
Posts: 17
T
TheCanadian Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Nov 2014
Posts: 17
I'm looking for a script to be able to add commands through chat.
The commands can be read from a file (ex: Commands.ini)

Re: [Request} Adding commands through twitch chat [Re: TheCanadian] #254992 12/09/15 07:36 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
/writeini
/remini
$readini
on text
/msg
#
if then else

Type /help and find these items in the help files. They're all you need to store and create simple messages through an ini file dynamically.

Example:
On text > if nick is not op return
write !dynamic_trigger ($2 or something) to file with $3- as message
on any text, check if $1 is any of the channel's dynamic_triggers in the ini file. If is, message channel said value


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