Posted: Tue Aug 14, 2007 3:12 pm Post subject: Buybot
I have a plugin for a mervbot called tm_mer. It has the commands for credit awarding like .cgive, .ctake, and .cget. There is also a buy.ini but only has 1 buy option. Here's the .ini...
Name=points
# ^----------------- What this will be called. !buy points in this case
Description=Gives you 6000 points
# ^---------- Description in the list
Value=3500
# ^---------------- 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")
PrivAction0=*points +6000
PrivAction1=You got 6000 points!
# ^------------ Up to 10 actions
# ^---------- What to private message to player
PubAction0=%name% just got 6000 points!
# ^------------- Up to 10 actions
# ^----------- What to say publically
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
# 26 -> NOT USED
# 27 -> NOT USED
SpecialPoints=0
# How many points to give/take from player
Is there anyway I can add more !buy options to the list?
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum