Hello guys, sorry for my english I’m a French Noob.
I have a rpg bot and I want use it on my twitch chat, but he got so much command and my chat will be flooded so hard.
In IRC the bot send /notice with the following code :
1st exemple :
alias verif_perso
{
if ($network = %serveur && !$exists( $+(rpg,$nick,.ini))) {
.notice $nick Aucun personnage connu sous le nom de $+(",$nick,") . Si tu n’as pas de perso crées en un: !create [assassin|mage|guerrier]
halt
}
2nd example :
}
if (%pvieconso > 0) send %color1 $nick $+ %coltxt utilise %colxp %pvieconso $+ %colhp potion(s) de vie %coltxt : %colhp + $calc($hget($nick,hp) - %olhp) hp
else .notice $nick Vous n’avez pas besoin d’utiliser de potions de vie
}
Of course when people use commande on tchat, the bot doesn’t respond to them, How can I do to make this bot answer by private message ? What sould I put for change .notice ?
Dat is an old code… and it’s working on mIRC of course, but twitch dont use notice so… what I have to do exactly in place of .notice for send a private message please ? Haven’t touch code since many years ago and I’m very confused
But you will certainly have some issues with bots whispering people unless you are a known_bot and still, there are measures in place to prevent bots from flooding whispers to users. Sounds more like you want to make an extension to do this stuff in an overlay
Thanks for this answer i will try it and I have send a request to become a known_bot, what are you speaking about when you said extension to do this stuff in an overlay ? Thanks again