Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Buybot

 
Post new topic   Reply to topic Printable version
 View previous topic  Merve plugin Post :: Post Display ticker time format - Merv  View next topic  
Author Message
Guest



Offline

PostPosted: Tue Aug 14, 2007 3:12 pm    Post subject: Buybot Reply to topic Reply with quote

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...
Code: Show/Hide
[Item0]
#    ^----------------- Up to 256 items

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?
Back to top
Jonus
Novice


Age:53
Gender:Gender:Male
Joined: May 23 2006
Posts: 35
Location: Illinois
Offline

PostPosted: Tue Aug 14, 2007 3:18 pm    Post subject: Reply to topic Reply with quote

[Item0]
# ^----------------- Up to 256 items

Just add more items?
[item1]
[item2]
[item3]
Back to top
View users profile Send private message Add User to Ignore List Yahoo Messenger
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Tue Aug 14, 2007 3:20 pm    Post subject: Reply to topic Reply with quote

Please read through the explanation of the .ini first before asking :/
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 177 page(s) served in previous 5 minutes.

phpBB Created this page in 0.498462 seconds : 27 queries executed (94.2%): GZIP compression disabled