Ok guys, don't laugh now. For what I have to ask you is probably very silly ;)
But how do you send text to the statusfield in dc++ ? The one-line window with kick/ban messages? Where it says: [13:07] Connected for example..
I have a script that kicks out 'badclient' softwares and I want the people to see whenever this occur, but I don't want to send into the main chat window.
I use disconnect() and Ban() to get rid off the user, but what am I to do in order to show the information about it?
I don't know if I made myself clear, but hopefully somebody understand and don't take me for a jack-ass ;-)
Regards!
prefix the msg with ***
but most ppl will see it in the mainchat as well
depends on their settings
It doesn't work for me. But I suppose I did something wrong..
What command shall I use?
SendToAll(Bot,"***An illegal user was just kicked out..")
just sends it into the main chat and not as a status message. I've tried SendToNick() and SendData() as well. What am I missing? :-)
SendPmToNick(curUser.sName,Bot,"You are using a badclient. ")
Maybe ?
SendToAll(, "***An illegal user was just kicked out..")
^^ That will show everyone in main but without the bot name!
Etc:
***An illegal user was just kicked out
if you use SendToAll(Botname, "*** An illegal user was just kicked out..")
you will get:
<[Botname]> *** An illegal user was just kicked out..
But, people can enable and disable time stamps so the result for them will be:
[12:00] *** An illegal user was just kicked out..
Yes, but it's still displayed in mainchat window. I want it to be within the status-window only. And I don't want to send any PM's because I'd like everybody in the hub to see that he/she was thrown out. But I don't want the spam the mainchat.
Normally DC++ doesn't have the option 'View status messages in main chat' turned on.
Like the messages you see when somebody is kicked out.. That's how I want it.
I don't know if I'm being fuzzy, rambling or something... =)
You don't want to spam the mainchat but you want everyone else to see it? how's that possible?
:rolleyes:
Well it's not that difficult ;)
You don't spam if the message is displayed in the status-windows/line. And everybody can see it.
Since dc++ has it by defaults not to show these messages in main chat there should be no problems.
I hope you guys understand the difference between mainchat and statusmessages? :-)
So simply put, how do I send statusmessages? Just like the ones you often see when somebody is kicking 'somebody' ??
I must give terrible explainations. Remind me never to become a teacher 8)
/Eager waiting for replys.
simply put..
you cant send status messages
dc++ has its own ways..
try typing "tezlo is kicking someone because: something" in the mainchat