IPB

Welcome Guest ( Log In | Register )

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 
Reply to this topicStart new topic
> Requesting Feedback CCX., Whisper commands.
Snap
post May 14 2009, 03:05 AM
Post #1


The following post is supplementry information
*****

Group: Global Moderators
Posts: 2,922
Joined: 29-January 06
From: Eugene Oregon
Member No.: 31



Right now CCX whispers back all commands.

So if you have a command like:
/addcc announce 40 [ANC: %user] %rest.
This would be whispered back to you when you used it.
Most of the time this is what you want (Like in a !notes CC & etc)- but in this example, it's not.

Sooo. Here's the options i see.

A: Tag on to StealthBot's "whispercmds" option.
B: Use a %noWhisper variable (or short alias %nw)
C: Use a /noWhipser command. (or short alias /nw)
D: All of the above
E: Don't ever whisper back commands- and cc writers to type out "/w %user" (or "/w %0")
F: Do nothing, they can use /me or /emote.


If you have an opinion or suggestion regarding this- please post!
Thanks.


--------------------
~Life is all busy and stuff right now. - Car accident, lots of dr. appointments... Other stuff too. I still <3 StealthBot.net - - I'll be around.
Thinking about PMing me? Post it instead! CCX Forums | SnapNJacks Trivia Forums
IPB Image
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ribose
post May 14 2009, 01:59 PM
Post #2


So, it's all about fame, huh?
*****

Group: Global Moderators
Posts: 2,950
Joined: 13-February 06
From: Connecticut, USA. (GMT -5:00)
Member No.: 74



my opinion:
A (beta only): yes
B: maybe, for special case commands such as the example
C: ugly, no, use (A) instead
E: ugly, no, cumbersome for D2 compatibility
F: no, you have an example why


--------------------
~Ribose
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Snap
post May 14 2009, 02:25 PM
Post #3


The following post is supplementry information
*****

Group: Global Moderators
Posts: 2,922
Joined: 29-January 06
From: Eugene Oregon
Member No.: 31



I shoulda described C better. - An internal-ccx used command- like.

C: /addcc announce 40 /nw [ANC: %user] %rest. & this would be whispered. & /nw this wouldn't.
B: /addcc announce 40 [ANC: %user] %rest.%nw & this wouldn't be whispered.
(Doesn't matter where %nw is)


--------------------
~Life is all busy and stuff right now. - Car accident, lots of dr. appointments... Other stuff too. I still <3 StealthBot.net - - I'll be around.
Thinking about PMing me? Post it instead! CCX Forums | SnapNJacks Trivia Forums
IPB Image
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ribose
post May 14 2009, 02:47 PM
Post #4


So, it's all about fame, huh?
*****

Group: Global Moderators
Posts: 2,950
Joined: 13-February 06
From: Connecticut, USA. (GMT -5:00)
Member No.: 74



Oh I thought you meant as another command.
B: maybe, but it isn't per line
C: i suppose yes


--------------------
~Ribose
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Snap
post May 14 2009, 05:50 PM
Post #5


The following post is supplementry information
*****

Group: Global Moderators
Posts: 2,922
Joined: 29-January 06
From: Eugene Oregon
Member No.: 31



I could do B per-line. - But If i'm gonna do C, then B should do something different.

I like C because it's kinda logical - /me to emote, and /nw to talk is fairly easy to grasp.

~Update
Right now I've implemented C and A (must be using beta).

B seems confusing - and just not worth the time to implement.

C is as simple to use as it was to implement.

I think this should do.
- so /nw or /nowhisper to prevent a whisper-back. - Prevents whisper-back even if whispercmds is enabled.

Example w/ implementation:
/addcc announce 40 /nw [ANC: %user] %rest.


--------------------
~Life is all busy and stuff right now. - Car accident, lots of dr. appointments... Other stuff too. I still <3 StealthBot.net - - I'll be around.
Thinking about PMing me? Post it instead! CCX Forums | SnapNJacks Trivia Forums
IPB Image
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
PhiX
post May 15 2009, 07:26 AM
Post #6


Notice the ownage.
********

Group: Global Moderators
Posts: 10,862
Joined: 15-January 07
From: GeRmAnY (GMT +1:00)
Member No.: 16,204



What exactly does A do? In StealthBot it means that the response is whispered back even when the command was used in the channel. Is it the same here?

I like B/C. It should affect the whole command text though. Usually when I use /nw (the default for the old custom commands), I want all messages to be displayed to the channel. Otherwise I would manually put "/w %0" in the respective line.


--------------------
PhiX
--------------------
I do not provide support via PM or IM, please use the forums.
SBs Help Tool - Please only double click my name if I told you to do so.
--------------------

Whore of Clan BoT

JBLS: phix.no-ip.org (click for stats) IPB Image
--------------------
QUOTE(Clan BoT)
[20:33:50.063] <[email protected]> I'm not showing any respect to a bunch of script kiddie faggots.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ribose
post May 15 2009, 12:31 PM
Post #7


So, it's all about fame, huh?
*****

Group: Global Moderators
Posts: 2,950
Joined: 13-February 06
From: Connecticut, USA. (GMT -5:00)
Member No.: 74



QUOTE(PhiX @ May 15 2009, 09:26 AM) *
What exactly does A do? In StealthBot it means that the response is whispered back even when the command was used in the channel. Is it the same here?
Yes, he's referring to BotVars.WhisperCmds and the option in settings.
QUOTE(PhiX @ May 15 2009, 09:26 AM) *
I like B/C. It should affect the whole command text though. Usually when I use /nw (the default for the old custom commands), I want all messages to be displayed to the channel. Otherwise I would manually put "/w %0" in the respective line.
Perhaps he could make it having %nw anywhere in it affects the whole thing and /nw is like the opposite of /w %0 where it affects only the line. I would like it if he makes sure that "/w %0", "/whois %0", etc put * in the right spot if the bot is on Diablo II.


--------------------
~Ribose
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Snap
post May 15 2009, 02:48 PM
Post #8


The following post is supplementry information
*****

Group: Global Moderators
Posts: 2,922
Joined: 29-January 06
From: Eugene Oregon
Member No.: 31



@PhiX
Yea, A treats all commands as if they were whispered (via Botvars.WhisperCmds as Ribose mentioned). - Which actually only sorta applies to this discussion...
/nw was the default for the old CC? ohmy.gif Weird, i never knew about it, lol. - That'le make the converting process nicer.
Did it make all the following new lines non-whispered? - That doesn't really follow the logic of other commands - like emote.
If it was going to affect the entire command, i would rather it be with a %nw. (following this concept i could use a %emote var too).

@Ribose -
Case "w", "whisper", "whois"
If UsingDiablo Then AddAstrix(Message)
- Has someone made this function already? - It's just:
/w username message -> /w username* message
right?


--------------------
~Life is all busy and stuff right now. - Car accident, lots of dr. appointments... Other stuff too. I still <3 StealthBot.net - - I'll be around.
Thinking about PMing me? Post it instead! CCX Forums | SnapNJacks Trivia Forums
IPB Image
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
PhiX
post May 15 2009, 02:55 PM
Post #9


Notice the ownage.
********

Group: Global Moderators
Posts: 10,862
Joined: 15-January 07
From: GeRmAnY (GMT +1:00)
Member No.: 16,204



QUOTE(Ribose @ May 15 2009, 08:31 PM) *
I would like it if he makes sure that "/w %0", "/whois %0", etc put * in the right spot if the bot is on Diablo II.
%0 should always work because it's the user whispering the command. Only if a user is provided (%1 ... %rest) this needs to be considered. But in the beta with naming conventions the user should know what he's doing, as the accounts always appear the same to the bot.

QUOTE(Snap @ May 15 2009, 10:48 PM) *
/nw was the default for the old CC? ohmy.gif Weird, i never knew about it, lol.
No, I was only talking about the behavior in general.
QUOTE(Snap @ May 15 2009, 10:48 PM) *
Case "w", "whisper", "whois"
If UsingDiablo Then AddAstrix(Message)
- Has someone made this function already? - It's just:
/w username message -> /w username* message
right?
Why not use the oldschool psD2?
CODE
Case "w", "whisper", "whois"
If UsingDiablo Then User = psD2 & User
"User" would be the split part of the message. The asterisk comes in front of the name by the way.


--------------------
PhiX
--------------------
I do not provide support via PM or IM, please use the forums.
SBs Help Tool - Please only double click my name if I told you to do so.
--------------------

Whore of Clan BoT

JBLS: phix.no-ip.org (click for stats) IPB Image
--------------------
QUOTE(Clan BoT)
[20:33:50.063] <[email protected]> I'm not showing any respect to a bunch of script kiddie faggots.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ribose
post May 15 2009, 03:25 PM
Post #10


So, it's all about fame, huh?
*****

Group: Global Moderators
Posts: 2,950
Joined: 13-February 06
From: Connecticut, USA. (GMT -5:00)
Member No.: 74



Make sure we're only replacing it once and at the right times so I don't get:
/f a *joeuser
or
*joeuser has been added to the list.


--------------------
~Ribose
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Snap
post May 15 2009, 03:28 PM
Post #11


The following post is supplementry information
*****

Group: Global Moderators
Posts: 2,922
Joined: 29-January 06
From: Eugene Oregon
Member No.: 31



I could check if it's whisper %0, or a provided username (from %1 etc).
Whispering back will work as long as it's %0?.

Totally forgot about psD2.


Process order;
RunCC Sub
-> Saves ccx_user = Username
-> Parses %0/%user, %access
-> Parses %1/%rest/%all
-> Parses functions
-> Splits @ & and queues up messages. - Passing Message-Source (Whisper, Talk etc)
-> > Here I could check for %nw and change the Message-Source to Talk.
"CCX_R" Sub. (Soon to be renamed.)
-> If WhisperCmds - changes the method to Whisper.
-> No slash? - Sends & Exits
-> Checks for safe Battle.Net Commands (/f m /me /w)
-> > Here is where it now checks /nw & /nowhisper.
-> Checks security risky Bnet commands - sends them based on "usesafety" config.
-> Checks custom commands.
-> Checks plugin commands.
-> Checks Internal commands(Beta only) - If not beta or it is a command, executes the command as if %user executed it.
-> Anything else left standing (Obviously beta only) is left to dry.
- - Done.


The CCX_R sub used to be just a tweaked DSP sub - but with 1.94 I did all that command-handling stuff.


--------------------
~Life is all busy and stuff right now. - Car accident, lots of dr. appointments... Other stuff too. I still <3 StealthBot.net - - I'll be around.
Thinking about PMing me? Post it instead! CCX Forums | SnapNJacks Trivia Forums
IPB Image
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th November 2019 - 12:58 AM
Skin by Andrea
Website Legal Information | Hosted by LunarPages