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
Messaging Bot Needed

 
Post new topic   Reply to topic Printable version
 View previous topic  CatID Email-Defective plugin sent Post :: Post Botmaker chat  View next topic  
Author Message
Cookieteam
Novice


Joined: Apr 18 2004
Posts: 46
Location: Somewhere Else
Offline

PostPosted: Mon Apr 19, 2004 3:50 pm    Post subject: Messaging Bot Needed Reply to topic Reply with quote

Any bored programmers want to make a Merv Bot plugin that will private message any player that goes in a rectangle. If they can just post a new post here and when it is done, attach it here.

Thanks,
Back to top
View users profile Send private message Add User to Ignore List
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Thu Apr 22, 2004 11:53 pm    Post subject: Reply to topic Reply with quote

The ini file looks like this
Code: Show/Hide

[Message1]
X1=501
Y1=501

X2=522
Y2=522

Freq=-1
#    ^------- Freq to message. -1 = any, -2 = any public, -3 = any private, 0-9999 = specific freq

EnterMessage0=%name% has entered area 1
EnterMessage1=
EnterMessage2=
EnterMessage3=
EnterMessage4=

LeaveMessage0=%name% has left area 1
LeaveMessage1=
LeaveMessage2=
LeaveMessage3=
LeaveMessage4=

[Message2]
X1=514
Y1=514
X2=522
Y2=522

Freq=1

EnterMessage0=%name% has entered area 2
LeaveMessage0=%name% has left area 2

# Macros you can use: (Thanks to SOS)
#   %name%   - Name of player
#   %points% - Points of player
#   %squad%  - Squad of player
#   %freq%  - Freq of player


Enter messages are send to a player when they enter an area, and the leaving messages are sent when a player leaves an area. You can specify freq just like TM-baw does. Area coords look like this (X1,Y1)->(X2,Y2) in SSME, if you have trouble with this, ill explain it better if you need me to. To use more messages, just count up the [Message1] numbers, next is [Message2] then [Message3]. There are macros you can use in your messages such as %name%




Private Message Bot by 50% Packetloss

messagebot.zip - 32.88 KB
File downloaded or viewed 23 time(s)
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Apr 23, 2004 1:12 am    Post subject: Reply to topic Reply with quote

Is this a written custom one, if it is post it onto catid's site biggrin.gif
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Fri Apr 23, 2004 1:37 am    Post subject: Reply to topic Reply with quote

yah, its custom. I can send it to catid if no problems are reported
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Apr 23, 2004 7:43 pm    Post subject: Reply to topic Reply with quote

nice, you da man!
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cookieteam
Novice


Joined: Apr 18 2004
Posts: 46
Location: Somewhere Else
Offline

PostPosted: Sat Apr 24, 2004 4:13 am    Post subject: Reply to topic Reply with quote

Is there a way I can give a player the super prize and then take it away when he gets into another area using this bot? I tried to do it with *prize 17 command and the *prize -17 command but it just gave me a lot of bounty and a load of random weapons. How can I just give the player super prize at a point and then take just super prize away at another point?
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sat Apr 24, 2004 10:05 am    Post subject: Reply to topic Reply with quote

you have to do *prize #17 and *prize #-17

the # is very important, otherwise it just gives them 17 greens
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cookieteam
Novice


Joined: Apr 18 2004
Posts: 46
Location: Somewhere Else
Offline

PostPosted: Sat Apr 24, 2004 10:06 am    Post subject: Reply to topic Reply with quote

Ok. Thanks. Its working now
Back to top
View users profile Send private message Add User to Ignore List
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: 35 page(s) served in previous 5 minutes.

phpBB Created this page in 0.534392 seconds : 34 queries executed (80.9%): GZIP compression disabled