This is a incomplete Popularity bot for a channel. It is kinda a contest, users are awarded popularity points by way of vote from other users. (May be buggy) Put in Remotes
On 1:Join:#: {
Msg $chan Welcome to $chan $Nick ! Please type `enter to begin in the game!
}
}
On 1:Text:*`enter*:#: {
If $readini(Popularity.ini,$Nick,entered) == yes) {
Notice $Nick You have already entered $Nick !
(Halt}
Notice $Nick Welcome, I am a contest to show who is most popular in my channel! I will give you one popularity point for joining.
write ini Popularity.ini $nick Popularity 1
}
}
On 1:Text:*`pop*:#: (
If $readini(Popularity.ini,$Nick,entered) == yes) {
Msg $Chan $Nick thinks $2 deserves a popularity point, if you agree type `agree .
}
}
On 1:Text:*`agree*:#: {
If $readini(Popularity.ini,$Nick,entered) == yes) {
If ($Nick == $2) (
Notice $Nick You cannot vote for yourself!
(Halt}
Msg $chan $2 has earned 1 popularity by way of vote! Congratz!
Inc Popularity.ini $nick
}
}
}
On 1:Text:*`agree*:#: {
If $readini(Popularity.ini,$Nick,entered) == yes) {
If ($Nick == $2) (
Notice $Nick You cannot vote for yourself!
(Halt}
Msg $chan $2 has earned 1 popularity by way of vote! Congratz!
Inc Popularity.ini $nick
}
}
}
What\'s up with the \"(Halt}\" ? I guess you\'re brackets are a little messed up.
On 1:Text:*`agree*:#: {
If $readini(Popularity.ini,$Nick,entered) == yes) {
If ($Nick == $2) (
Notice $Nick You cannot vote for yourself!
}
else {
Msg $chan $2 has earned 1 popularity by way of vote! Congratz!
Inc Popularity.ini $nick
}
}
}