Server Help

Bot Questions - Buy.ini

Solid_Fire - Thu Sep 29, 2005 11:36 pm
Post subject: Buy.ini
Ok, i'v been trying to add some items to this little buy.ini from TM-Mer...and i'v had no success. Do i need to get the invbot just to replace this or ..what?

Heres the .buy ini as of right now...
Code: Show/Hide
[Item1]
#    ^----------------- Up to 256 items

Name=points
#    ^----------------- What this will be called. !buy points in this case. No space allowed. Maximum length is 19

Description=Gives you 3000 points
#           ^---------- Description in the list

Value=3000
#     ^---------------- Item value in credits

# Macros you can use:
#   %name%   - Name of player
#   %points% - Points of player
#   %squad%  - Squad of player
#   %freq1%  - Freq of player. "(Private freq)" said if private
#   %freq2%  - Freq of player. Private freqs are said
#   %param%  - What the user typed after the item name(In "!buy arena This is an arena message", %param% would be "This is an arena message")

ParamRequired=false
#             ^-------- Is the param required? (!buy item param)

PrivAction0=*points +6000
PrivAction1=You got 6000 points! %1
#         ^------------ Up to 10 actions
#           ^---------- What to private message to player

PubAction0=%name% just got 6000 points!
#        ^------------- Up to 10 actions
#          ^----------- What to say publically

TargetAction0=
#           ^---------- Up to 10 actions
#             ^-------- What to say to the %param% player(If it is a valid player. ParamRequired sets this to abort and take no credits if it is not a player)

SpecialAction0=0
#            ^--------- Up to 10 actions
#              ^------- 0  -> Nothing
#                       1  -> Say carried flags in private
#                       2  -> Say uncarried flags in private
#                       3  -> Say all flags in private
#                       4  -> Say carried flags in public
#                       5  -> Say uncarried flags in public
#                       6  -> Say all flags in public
#                       7  -> Say carried flags to team
#                       8  -> Say uncarried flags to team
#                       9  -> Say all flags to team
#                       10 -> Say friendly player locations in private
#                       11 -> Say enemy player locations in private
#                       12 -> Say all player locations in private
#                       13 -> Say friendly player locations in public
#                       14 -> Say enemy player locations in public
#                       15 -> Say all player locations in public
#                       16 -> Say friendly player locations to team
#                       17 -> Say enemy player locations to team
#                       18 -> Say all player locations to team
#                       19 -> NOT USED
#                       20 -> Scorereset team
#                       21 -> Scorereset enemies
#                       22 -> NOT USED
#                       23 -> NOT USED
#                       24 -> Shipreset team
#                       25 -> Shipreset enemies

SpecialPoints=0
# Points to give/take

Anonymous - Fri Sep 30, 2005 5:19 pm
Post subject:
what zoen do u own?
Maverick - Fri Sep 30, 2005 5:27 pm
Post subject:
zone* you*
Purge - Fri Sep 30, 2005 5:33 pm
Post subject:
Is the bot sysop so it can do *points?
Solid_Fire - Fri Sep 30, 2005 6:06 pm
Post subject:
yes purge, but when i do .buy, its says "Theres nothing on the list to buy"..so im wondering if the above is in correct format etc..

And guest, its my brothers testing zone. (just testing various stuff..) And no you can't be staff.
Maverick - Sat Oct 01, 2005 10:24 am
Post subject:
Code: Show/Hide
   MMaverick> !buy
  BOT>Mavbot> Item name            Price          Description
  BOT>Mavbot> points               3000           Gives you 3000 points
  BOT>Mavbot> Type !buy <item name> to buy something


It works for me. However, you should start with [item0] instead of [item1] in your buy.ini.

What TM_Mer version are you using? And what Mervbot version?
I am using the latest Mervbot with TM Mer 1.13.
Anonymous - Sat Oct 01, 2005 11:19 pm
Post subject:
i have both of the latest versions, from catids site. i should prolly try that p[item0] instead of 1..
Solid_Fire - Fri Oct 21, 2005 12:42 am
Post subject:
Ok so i started to add some items....but they didnt show up when i typed .buy

So im highly guessing i typed it in wrong, i'v tried several ways to try and add items. So...can someone please give me an example on how to add couple items..? yea, sorry for such a noob question.
Maverick - Fri Oct 21, 2005 2:33 am
Post subject:
Make sure Mervbot can open and write to buy.ini . Check if the file isn't set to read-only and all other file permissions are ok. Can't think of something else right now.
Solid_Fire - Fri Oct 21, 2005 3:28 am
Post subject:
i just need to know how i would add items, like repels, decoys, etc. (This has to be one of the most noobiest questions........)
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group