Server Help

Bot Questions - Messaging Bot Needed

Cookieteam - Mon Apr 19, 2004 3:50 pm
Post subject: Messaging Bot Needed
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,
50% Packetloss - Thu Apr 22, 2004 11:53 pm
Post subject:
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%
CypherJF - Fri Apr 23, 2004 1:12 am
Post subject:
Is this a written custom one, if it is post it onto catid's site biggrin.gif
50% Packetloss - Fri Apr 23, 2004 1:37 am
Post subject:
yah, its custom. I can send it to catid if no problems are reported
D1st0rt - Fri Apr 23, 2004 7:43 pm
Post subject:
nice, you da man!
Cookieteam - Sat Apr 24, 2004 4:13 am
Post subject:
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?
D1st0rt - Sat Apr 24, 2004 10:05 am
Post subject:
you have to do *prize #17 and *prize #-17

the # is very important, otherwise it just gives them 17 greens
Cookieteam - Sat Apr 24, 2004 10:06 am
Post subject:
Ok. Thanks. Its working now
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group