Bar bot problems. - 15/10/07 09:19 PM
You might remember I had a drink script I was having trouble with a while back, well, said drink script somehow spiraled out of control towards full on bot-ness. However there's one feature I can't seem to get right.
I want him to respond every time his name is said.
Now it started as
Code:
if ($1 == Drinkslinger) { $read(Reply.txt) }
And about twelve different lines, each time increasing $1 up to $2, $3,$4, ect. However this works, but is messy and I'm sure there's a better way to do it. I would also like him to reply when the name is used in actions. /help was. . .less than useful, so I was hoping I might gather a bit of help here.