Author |
Message |
Cookieteam Novice
Joined: Apr 18 2004 Posts: 46 Location: Somewhere Else Offline
|
Posted: 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,
|
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Thu Apr 22, 2004 11:53 pm Post subject: |
 |
|
|
|
The ini file looks like this
[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 |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Apr 23, 2004 1:12 am Post subject: |
 |
|
|
|
Is this a written custom one, if it is post it onto catid's site  _________________ Performance is often the art of cheating carefully. - James Gosling
|
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Fri Apr 23, 2004 1:37 am Post subject: |
 |
|
|
|
yah, its custom. I can send it to catid if no problems are reported
|
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Fri Apr 23, 2004 7:43 pm Post subject: |
 |
|
|
|
nice, you da man! _________________
|
|
Back to top |
|
 |
Cookieteam Novice
Joined: Apr 18 2004 Posts: 46 Location: Somewhere Else Offline
|
Posted: 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?
|
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: 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
|
|
Back to top |
|
 |
Cookieteam Novice
Joined: Apr 18 2004 Posts: 46 Location: Somewhere Else Offline
|
Posted: Sat Apr 24, 2004 10:06 am Post subject: |
 |
|
|
|
Ok. Thanks. Its working now
|
|
Back to top |
|
 |
|