Author Topic: How can i get the team...?  (Read 1993 times)

Smokey

  • Autococker
  • Posts: 1172
How can i get the team...?
« on: July 25, 2006, 07:08:40 PM »
How can i tell what color team a player is on via the ÿÿÿÿstatus




on mirc, the output i get is:
the first number, i have no idea.  Second is ping.
Code: [Select]
24 51 "(ˆT͈A؈Þ)ˆTÊ͈AÁÎ"
0 246 "[vc]*psyco(man)"
0 188 "ˆ8.ˆ¿Iˆ5jˆ8.ˆ:ÇÏÄÓÍÁÃË"
0 77 "BabySola"
8 169 "Skkeeter"
18 88 "Eddy"
0 79 "pogo"
10 62 "ˆÞ(ˆS͈A؈Þ)ˆSЈAÕˆÞĈTɈAΈÞÇ"
17 59 "cowbell"
56 35 "ˆ`‹ˆ×Ȉ`—ˆ×͈`³ˆ×Šˆ`‹"
13 63 "P3n173_5p7n+3r"

TinMan

  • Autococker
  • Posts: 1347
Re: How can i get the team...?
« Reply #1 on: July 25, 2006, 07:17:43 PM »
is that output from qstat or something? I'm interested in this, please inform me of what that's from. And I'm not sure, but the first number looks like it would probably be frags if that's some sort of scoreboard output.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: How can i get the team...?
« Reply #2 on: July 25, 2006, 07:35:04 PM »
You have to get it from the "pr" "pp" "pb" "py" variables.   For example, if "pr" was "3!5!6!8", then BabySola, Eddy, pogo, and cowbell would be on the red team.

Smokey

  • Autococker
  • Posts: 1172
Re: How can i get the team...?
« Reply #3 on: July 25, 2006, 07:41:29 PM »
Ahhh, thanks jits.


Tinman: Its from mirc. My !scores script im working on. I had the player output dumped into a .txt file.

TinMan

  • Autococker
  • Posts: 1347
Re: How can i get the team...?
« Reply #4 on: July 25, 2006, 07:44:13 PM »
sweet, when you're done can I have a copy to edit and get to work with xchat?

Smokey

  • Autococker
  • Posts: 1172
Re: How can i get the team...?
« Reply #5 on: July 25, 2006, 07:51:47 PM »
ya. if people even run bots off xchat. If you want, somewhere on this forum i have my server booking script. sets a password and a lvl 50 login.

Eiii

  • Autococker
  • Posts: 4595
Re: How can i get the team...?
« Reply #6 on: July 25, 2006, 08:32:45 PM »
What's the script written in?

Smokey

  • Autococker
  • Posts: 1172
Re: How can i get the team...?
« Reply #7 on: July 25, 2006, 08:45:04 PM »
.mrc

Smokey

  • Autococker
  • Posts: 1172

TinMan

  • Autococker
  • Posts: 1347
Re: How can i get the team...?
« Reply #9 on: July 25, 2006, 10:18:45 PM »
I still want the score one. And xchat bots are really easy to make, they can be written in tool command language.
http://www.scriptkitties.com/tclplugin/

Sprinkle

  • VM-68
  • Posts: 115
Re: How can i get the team...?
« Reply #10 on: July 25, 2006, 10:45:34 PM »
I might have the old score and relay bot from my eggdrop during the snowstorm days.  I'll look around.

Xsv-Boy

  • VM-68
  • Posts: 124
Re: How can i get the team...?
« Reply #11 on: July 28, 2006, 05:25:53 PM »
all i have to say is ask ironfist,tinman, satan, madman, or bain. they are the smart people. or any the er33t guys

Smokey

  • Autococker
  • Posts: 1172
Re: How can i get the team...?
« Reply #12 on: July 29, 2006, 12:49:07 AM »
i already have it...jesus shutup.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: How can i get the team...?
« Reply #13 on: July 29, 2006, 08:53:49 AM »
TinMan: I've got one working on PBCup^Bot written in TCL for eggdrop.  Smokey copied exactly what I had created and rewrote it for mIRC.  Let me know if you want it but it is pretty messy and uses a PHP script for funname conversion(since I already had one sitting around for another project).