bots


I'm trying to implement a quote system in mIRC for my Twitch bot, reading from the text file works, but adding doesn't


I'm trying to build my own Twitch bot using mIRC and I've ran into a problem. I've been using simple commands to show TEXT when typing TEXT in the channel.
When I got the basics I went further and I'm trying to implement a quote system now, it worked before, but seems to stop writing quotes to the .text file on my pc since yesterday. The !quote command works if I add text to the text file manually, but it won't write them into the file with !addquote. The rest of the code doesn't interact with this and I've tried running separate pieces of code, with no succes.
I'm not sure if the problem is code related, since it worked before, but I can't seem to resolve/see the problem myself.
I was hoping someone here might see the problem.
Thanks in regard.
on *:TEXT:!addquote *:#: {
if ($nick !isop #) { return }
write quotes.txt $2- $+
msg $chan Added: $2-
}
on *:TEXT:!quote:#: {
if ((%floodquote) || ($($+(%,floodquote.,$nick),2))) { return }
set -u10 %floodquote On
set -u30 %floodquote. $+ $nick On
msg $chan $read(quotes.txt)
}
I fixed it by putting it in a new file. No idea why it worked but it did somehow.

Related Links

How to pass control from one LUIS method to another?
How to transfer conversation from Bot to human agents?
How to speak skype user with the bot using skype calling feature?
Test connection to your bot getting failed : Bot Framework
How to find out programs communicate?
API.AI vs. WIT.AI from analytics and logging aspects
Call FormDialog from within a LUIS Dialog
How to access .wav file in bot simulator
How to call a LUIS Dialog outside of the MessagesController class
How to develop skype calling functionality using Azure Bot Service
Facebook Messenger List Template Display in Android
In LUIS, how to add list of synonym for each valid entry of entity? [closed]
Telegram bots not working for all users
Rich text format for response text in facebook chatbot
Wit.ai stories with branch
How to do a decision tree on MS Bot Framework?

Categories

HOME
vagrant
bokeh
writefile
key
activemq
message-queue
dry
code-formatting
filesize
twitter-fabric
tweepy
hystrix
driver
twitter-oauth
cqrs
orc
grocery-crud
sql-injection
texas-instruments
parceler
android-service
tf-idf
intune
infopath2010
steam-web-api
directfb
restful-architecture
db2-luw
identify
right-click
jshint
daz3d
swift2.3
beeline
sonatype
htmlspecialchars
dymola
google-shopping-api
email-injection
oracle-fusion-apps
qtextedit
mifos
controllers
clp
django-testing
gcloud-node
msbuild-4.0
yii2-model
adjacency-list
voronoi
deeplink
boost-proto
textpattern
smart-tv
http.client
srv-record
clarion
whitespace-language
azure-xplat-cli
nsmutabledata
fat32
sunos
fasterxml
inputbox
relationships
android-2.3-gingerbread
windows-messages
rails-api
bittorrent-sync
hotswap
roxy-fileman
lsa
spring-security-acl
sensormanager
ctp
pbkdf2
rautomation
revmob
sql-view
mp4parser
libxml-js
ember-table
clrprofiler
popup-blocker
sfinae
navigationcontroller
django-apps
qtextbrowser
servercontrol
will-paginate
net-use
botnet
canonicalization
fragment-identifier
formal-semantics
j2mepolish
bucket
external-sorting
rtti
motif
suggestbox
chronic
downloadfile

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App