Author |
Message |
rahXephon Novice
Age:39 Gender: Joined: Mar 14 2003 Posts: 31 Location: USA NY Offline
|
Posted: Sun Mar 16, 2003 12:12 am Post subject: bot knowing when event is done |
 |
|
|
|
for example lets say the person prizes a brick is there a code so that the bot can send a message publicly that that person has prized the brick _________________

Last edited by rahXephon on Sun Mar 16, 2003 8:43 am, edited 1 time in total |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
|
Back to top |
|
 |
rahXephon Novice
Age:39 Gender: Joined: Mar 14 2003 Posts: 31 Location: USA NY Offline
|
Posted: Sun Mar 16, 2003 8:38 am Post subject: |
 |
|
|
|
heh sorry :X the mervbot core
 |
|
Back to top |
|
 |
SOS Server Help Squatter
Joined: Dec 02 2002 Posts: 329 Offline
|
Posted: Sun Mar 16, 2003 1:00 pm Post subject: |
 |
|
|
|
EVENT_PlayerPrize _________________ 3y3 4m l33t h4x0r
j0! 3y3 4m t4lking to j00!
fux0red 5cr1pt k1dd13.
-"l33t h41ku" |
|
Back to top |
|
 |
rahXephon Novice
Age:39 Gender: Joined: Mar 14 2003 Posts: 31 Location: USA NY Offline
|
Posted: Sun Mar 16, 2003 11:43 pm Post subject: |
 |
|
|
|
that doesnt help a bit SOS :X
"Be More Specific" -SOS |
|
Back to top |
|
 |
SOS Server Help Squatter
Joined: Dec 02 2002 Posts: 329 Offline
|
Posted: Mon Mar 17, 2003 5:40 am Post subject: |
 |
|
|
|
If you can't do that with the assistance of the default code in EVENT_PlayerPrize, then go read a C++ book...
It gives you the player and the prize number right there... |
|
Back to top |
|
 |
rahXephon Novice
Age:39 Gender: Joined: Mar 14 2003 Posts: 31 Location: USA NY Offline
|
Posted: Mon Mar 17, 2003 6:35 am Post subject: |
 |
|
|
|
ur mean |
|
Back to top |
|
 |
k0zy Server Help Squatter

Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
Posted: Mon Mar 17, 2003 8:32 am Post subject: |
 |
|
|
|
Mean, but he is right...
Everything u need is under the Event_PlayerPrize
Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole.... |
|
Back to top |
|
 |
Underlord Guest
Offline
|
Posted: Mon Mar 17, 2003 2:24 pm Post subject: here |
 |
|
|
|
case EVENT_PlayerPrize:
{
Player *p = (Player*)event.p[0];
int prize = *(int *)&event.p[1];
if (prize == 26) /* brick */
sendPublic((String) p->name + " has greened a brick");
}
break; |
|
Back to top |
|
 |
rahXephon Novice
Age:39 Gender: Joined: Mar 14 2003 Posts: 31 Location: USA NY Offline
|
Posted: Sun Mar 23, 2003 5:05 pm Post subject: |
 |
|
|
|
Under i wub you  |
|
Back to top |
|
 |
|