|
Well, I am making this bot for this game. When you !addprize name:event it gives the person the prize.
The text file looks like this:
Brad:event:John
meaning, Reciever:item:Giver.
When you type !listprize it sends you something like this:
You have 250 bounty + Prox (given by BDwinsAlt)
You have 500 bounty + 2xProx(given by BDwinsAlt)
How can I make it number it.
Then instead of a player typing !prizeme for the 250 bounty and !prizeme sne for the 500 bounty, let them type !prizeme 1 (for the line number)
Example:
1.You have 250 bounty + Prox (given by BDwinsAlt)
2.You have 500 bounty + 2xProx(given by BDwinsAlt)
!prizeme 2
Then !listprize shows:
1.You have 250 bounty + Prox (given by BDwinsAlt)
-----------------------------------------------------
All I need to know is how to Identify the lines being sent as numbers and then when they use !prizeme they can use numbers. Now other players are on there but there is a section were it only searches for the line starting with the players name. So I can't use basic line numbers.
Please help.
|
|
|
|
|
|
|
|