can "bzadmin -ui stdboth" send to admin channel?

Place for people to discuss public servers, and also for admins to lay out the details of their servers
Post Reply
loophole
Private First Class
Private First Class
Posts: 56
Joined: Fri Oct 14, 2005 11:43 pm

can "bzadmin -ui stdboth" send to admin channel?

Post by loophole »

I am working on a bzadmin bot which is just a perl wrapper to bzadmin -ui stdboth. I'd like to have it talk on the admin channel, but I can't figure out how to do it (I can't use the arrow keys because that is not part of -ui stdboth). Is there a command I am missing?
temporal distraction
Sergeant
Sergeant
Posts: 250
Joined: Wed Jan 05, 2005 3:12 pm

Post by temporal distraction »

Can you use the slot number? ie. /msg #0 txt
loophole
Private First Class
Private First Class
Posts: 56
Joined: Fri Oct 14, 2005 11:43 pm

Post by loophole »

/msg #0 sends a private message to bzadmin (because it is the first client connected). I want bzadmin to send messages to the admin channel.

well I suppose I could just send an individual privmsg to each admin to accomplish the same thing, but then it wouldn't make that horrible admin chat noise like I want it to. :lol-old:
loophole
Private First Class
Private First Class
Posts: 56
Joined: Fri Oct 14, 2005 11:43 pm

Post by loophole »

Well I was able to get this to work by adding a quick hack to the bzadmin source that makes lines starting with @ always target the admin channel.
User avatar
BinarySpike
Corporal
Corporal
Posts: 735
Joined: Mon Mar 28, 2005 11:58 pm
Contact:

Post by BinarySpike »

or just add a plugin that makes /team

/team admin blah
/team red blah
/team rogue blah

A long time ago I tried hardcoding that into the game, never did it though cause I didn't understand commands.
Post Reply