Dankirk the Autoreply Bot (info & suggestions)
Re: Dankirk the Autoreply Bot (info & suggestions)
Any chance Dankirk could check for messages that are in all (or mostly) caps? Then it could spit out a warning telling them to turn off caps lock and whatnot. This seems doable with regular expressions, but then again I haven't done a ton with them myself.
<CMB> KingCrab72: Some mixture and contrast would be nice tbh Ollie
<Ollieboy> Some mixture and contrast of your face on my penis would also be nice
<Ollieboy> Some mixture and contrast of your face on my penis would also be nice
Re: Dankirk the Autoreply Bot (info & suggestions)
Alright, there's now a "no caps" reply.
For now, it'll be triggered when 2 messages from a player are all caps and within 4min timeframe of each other. Messages must be over 2 characters long and Op+ can't trigger it for essential hypocrisy .
For now, it'll be triggered when 2 messages from a player are all caps and within 4min timeframe of each other. Messages must be over 2 characters long and Op+ can't trigger it for essential hypocrisy .
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
- Sanjar Khan
- Trustee
- Offline
- Posts: 1766
- Joined: May 24th, 2011, 1:40 pm
- Location: Leiden, Zuid Holland
Re: Dankirk the Autoreply Bot (info & suggestions)
Meh, make it three
Ferrisbuler2: i will stay but i might not post cus of ollieboy
Re: Dankirk the Autoreply Bot (info & suggestions)
Awesome, that was super quick and this seems like it'll be useful. Thanks!Dankirk wrote:Alright, there's now a "no caps" reply.
For now, it'll be triggered when 2 messages from a player are all caps and within 4min timeframe of each other. Messages must be over 2 characters long and Op+ can't trigger it for essential hypocrisy .
Just wanted to report one odd thing that happened a moment ago:
Code: Select all
<FCB2> MineCraftdonalds: 1-1-0
<Dankirk> MineCraftdonalds, Please turn off caps.
<CMB> KingCrab72: Some mixture and contrast would be nice tbh Ollie
<Ollieboy> Some mixture and contrast of your face on my penis would also be nice
<Ollieboy> Some mixture and contrast of your face on my penis would also be nice
- LiamRayStanley
- OP
- Offline
- Posts: 151
- Joined: February 9th, 2012, 2:09 pm
- Contact:
Re: Dankirk the Autoreply Bot (info & suggestions)
OK there are a couple bugs happening.
First:
Promotions are not recording on !promoratio's. i have a couple people that agree.
Second:
The cooldown timer for caps i believe is non-existent, I'm not sure if its supposed to but.
i was supposed to have 25 or so promo's not 14! D:<
First:
Promotions are not recording on !promoratio's. i have a couple people that agree.
Second:
The cooldown timer for caps i believe is non-existent, I'm not sure if its supposed to but.
i was supposed to have 25 or so promo's not 14! D:<
<+FCB>Arvarna: i think your banhammer needs a downgrade
Re: Dankirk the Autoreply Bot (info & suggestions)
Can it be so that the NO CAPS response is perhaps stopped when a player says 3 or so non-caps messages?
e.g.
HEY GUYS!
How are you all?
.
.
.
(3 minutes and 59 seconds later)
OMG!
Dankirk: player, please turn off caps.
EDIT: Also I just saw the caps message get triggered by a player talking in numbers. Saying 4829 to get the attention of the player 48291634 twice.
e.g.
HEY GUYS!
How are you all?
.
.
.
(3 minutes and 59 seconds later)
OMG!
Dankirk: player, please turn off caps.
EDIT: Also I just saw the caps message get triggered by a player talking in numbers. Saying 4829 to get the attention of the player 48291634 twice.
<TKB> Hit_Girl: zombies don't hurt
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie
- Kevinsweijen
- SupOP
- Offline
- Posts: 365
- Joined: November 4th, 2011, 6:08 pm
- Location: Amsterdam, The Netherlands
Re: Dankirk the Autoreply Bot (info & suggestions)
I think numbers are seen as uppercase against this:
OMG FUCKING HELL MY MOTHER ASKED MY SISTER 2 HAVE A RELATIONSHIP WITH A FLOWER.
If the 2 wasn't seen as uppercase, this wouldn't trigger it :3
OMG FUCKING HELL MY MOTHER ASKED MY SISTER 2 HAVE A RELATIONSHIP WITH A FLOWER.
If the 2 wasn't seen as uppercase, this wouldn't trigger it :3
3 stages of sex life in a person's lifetime: Tri-weekly, try weekly, try weakly
<PyroPyro> afk touching my self while looking at the monies
<PyroPyro> afk touching my self while looking at the monies
Re: Dankirk the Autoreply Bot (info & suggestions)
Yeah fair enough, I guess there is no practical way around it. Either way the cooldown for time AND non-capital letter sentences would be pretty cool.
<TKB> Hit_Girl: zombies don't hurt
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie
- StainlessBlood
- Trustee
- Offline
- Posts: 54
- Joined: October 31st, 2011, 1:36 am
- Location: US
Re: Dankirk the Autoreply Bot (info & suggestions)
Actually, think there should be a reasonable way to do it. Just throwing in a check for messages that are all non alphabetical characters before anything else in this check for all caps case should be fairly simple. An example would be something like,Ollieboy wrote:Yeah fair enough, I guess there is no practical way around it. Either way the cooldown for time AND non-capital letter sentences would be pretty cool.
Message a = "abedkeDFJKJEIRJ0495845845;'',.;'[]-=0|";
Message b = "0495845845;'',.;'[]-=0|";
Using regular expressions check for alphabetic characters
a = replaceAll(("[^A-Za-z]", "");
b = replaceAll("[^A-Za-z]", "");
Then just check the length of them next
a.length();
b.length();
(At least above is how I would consider doing it in Java, because the above is just Java code snippets. Well at least for the mist part.)
"a" would return a result of 15 but "b" would return a result of 0, therefore a 0 returned result means that the message only contains non-alphabetic characters and could be easily tested for and thrown out accordingly. I'm sure Dankirk will be able to throw something together no problem
And a cooldown does sound like a pretty sweet idea. Also great work with the bot Dankirk.
Re: Dankirk the Autoreply Bot (info & suggestions)
Alright, sry for slow response and fix, had drinking party yesterday.
NO CAPS changes:
- the sentence must be atleast 3 characters
- the sentence must contain an alphabet character A-Z
- timer reset when player sends non caps message OR 3 "no caps" messages is sent by bot
- timer starts with 150sec and resets to 120sec when bot says a "no caps" message
The promo thingy:
This was fixed sometime earlier. It also affected all other stats (kicks,bans,demotes) for Ops. Should work now. This happened due to experimental (now working) support for playernames with spaces. (which can be done with command /setinfo).
For the lost stats I can unfortunately do nothing.
NO CAPS changes:
- the sentence must be atleast 3 characters
- the sentence must contain an alphabet character A-Z
- timer reset when player sends non caps message OR 3 "no caps" messages is sent by bot
- timer starts with 150sec and resets to 120sec when bot says a "no caps" message
The promo thingy:
This was fixed sometime earlier. It also affected all other stats (kicks,bans,demotes) for Ops. Should work now. This happened due to experimental (now working) support for playernames with spaces. (which can be done with command /setinfo).
For the lost stats I can unfortunately do nothing.
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
- LiamRayStanley
- OP
- Offline
- Posts: 151
- Joined: February 9th, 2012, 2:09 pm
- Contact:
Re: Dankirk the Autoreply Bot (info & suggestions)
Thats ok! thanks!Dankirk wrote:For the lost stats I can unfortunately do nothing.
<+FCB>Arvarna: i think your banhammer needs a downgrade
Re: Dankirk the Autoreply Bot (info & suggestions)
The best kind of party!Dankirk wrote:had drinking party yesterday.
<TKB> Hit_Girl: zombies don't hurt
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie
Re: Dankirk the Autoreply Bot (info & suggestions)
There's now some exceptions for NO CAPS, like "help" and "griefer".
!english now supports partial player names.
!english now supports partial player names.
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
Re: Dankirk the Autoreply Bot (info & suggestions)
Can Dankirk check who is online?
Player connects -> add to list
Player quits -> remove from list
That way, if someone gets promoted and they're offline, Dankirk won't say congrats to them?
Player connects -> add to list
Player quits -> remove from list
That way, if someone gets promoted and they're offline, Dankirk won't say congrats to them?
You cannot use certain BBCodes: [img].
Re: Dankirk the Autoreply Bot (info & suggestions)
And then .players for freebuild!Jonty800 wrote:Can Dankirk check who is online?
Player connects -> add to list
Player quits -> remove from list
That way, if someone gets promoted and they're offline, Dankirk won't say congrats to them?
This post makes my post count increase by one!
Re: Dankirk the Autoreply Bot (info & suggestions)
Done.Xesdra wrote:And then .players for freebuild!Jonty800 wrote:Can Dankirk check who is online?
Player connects -> add to list
Player quits -> remove from list
That way, if someone gets promoted and they're offline, Dankirk won't say congrats to them?
This feature has been requested earlier, but was problematic to implement since there was no quit message when player used /hide. Works alright now though.
The .players (or !players) is available for voiced and opped people on irc. It tells the player names too if theres 7 or fewer players online. Hidden people aren't shown or counted.
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
Re: Dankirk the Autoreply Bot (info & suggestions)
That's incorrect. Afaik the only way to get personal worlds is donating.<+Dankirk> Masons and higher can get their own maps.
The man in black fled across the desert, and the gunslinger followed.
Re: Dankirk the Autoreply Bot (info & suggestions)
Fixed,
also made color names match the in game (or fCraft) colors instead of IRC ones.
light grey -> silver
orange -> olive
pink -> magenta
light green -> lime
light cyan -> aqua
dark red -> maroon
also made color names match the in game (or fCraft) colors instead of IRC ones.
light grey -> silver
orange -> olive
pink -> magenta
light green -> lime
light cyan -> aqua
dark red -> maroon
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
Re: Dankirk the Autoreply Bot (info & suggestions)
!players is giving us wrong numbers, right now its 10 more than it actually is. So I thought, would hiding silently mess the counting up? If there is 30 players, and you /hide silent, and then /unhide, will it show 31?
Maybe make it so if it sees the same name again it will remove one? I'm guessing that this is the reason that we are getting wrong numbers, maybe it is something else though. 30 players, Mc_MrCat uses /hide silent, and then /unhide, and since Mc_MrCat is already on the list once, it doesn't add another one.
Just a guess, idk the coding that it uses.
Maybe make it so if it sees the same name again it will remove one? I'm guessing that this is the reason that we are getting wrong numbers, maybe it is something else though. 30 players, Mc_MrCat uses /hide silent, and then /unhide, and since Mc_MrCat is already on the list once, it doesn't add another one.
Just a guess, idk the coding that it uses.
Re: Dankirk the Autoreply Bot (info & suggestions)
Name can only have 1 instance on the online list.
What seems to mess up is that if you /hide silent, and then leave the server, the nickname will remain on the list until you come back, unhide, and then leave or /hide normally.
I might need to disable !players again.
What seems to mess up is that if you /hide silent, and then leave the server, the nickname will remain on the list until you come back, unhide, and then leave or /hide normally.
I might need to disable !players again.
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
- Intertoothh
- Trustee
- Offline
- Posts: 1149
- Joined: May 24th, 2011, 5:51 am
Re: Dankirk the Autoreply Bot (info & suggestions)
Or, make it so that if you havent seen a player for 15+ mins, it will not register you. Until you do any action again.
McLaughlinKid wrote:You put roar on everything don't you?
Re: Dankirk the Autoreply Bot (info & suggestions)
But then people who don't talk will get knocked off the list :/Intertoothh wrote:Or, make it so that if you havent seen a player for 15+ mins, it will not register you. Until you do any action again.
This post makes my post count increase by one!
- Intertoothh
- Trustee
- Offline
- Posts: 1149
- Joined: May 24th, 2011, 5:51 am
Re: Dankirk the Autoreply Bot (info & suggestions)
Only vet & op+Xesdra wrote:But then people who don't talk will get knocked off the list :/Intertoothh wrote:Or, make it so that if you havent seen a player for 15+ mins, it will not register you. Until you do any action again.
Others cant hide, so you dont need a timer for them.
Its better then no list at all, i dont mind if its not 100% acurate, i just wanna know the guest/mod ratio
Moderators that arent active moderating get nocked off then, perfect!
McLaughlinKid wrote:You put roar on everything don't you?
Re: Dankirk the Autoreply Bot (info & suggestions)
I'll get to the !players problem after midsummer. Coming back next monday.
- Added !mute to the config website (in case all else fails = No IRC ops and rank settings fucked)
- Lowered general spam protection to 1 second. (was 2 earlier)
- Added support for /BanX (a command on 800craft servers), it's now properly recognized just like normal /ban (this was also part of !players problem).
- !players list is now reset when serverbot(s) join/part the channel
- Added !mute to the config website (in case all else fails = No IRC ops and rank settings fucked)
- Lowered general spam protection to 1 second. (was 2 earlier)
- Added support for /BanX (a command on 800craft servers), it's now properly recognized just like normal /ban (this was also part of !players problem).
- !players list is now reset when serverbot(s) join/part the channel
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
-
- Offline
- Posts: 1
- Joined: April 18th, 2012, 7:11 pm
Re: Dankirk the Autoreply Bot (info & suggestions)
You should add: How do I teleport to someone?
Re: Dankirk the Autoreply Bot (info & suggestions)
guests aren't able to teleport.
Thus an autoresponse to that question would probably cause more confusion than it guards against.
Thus an autoresponse to that question would probably cause more confusion than it guards against.
The man in black fled across the desert, and the gunslinger followed.
- PolakWithABlock
- SupOP
- Offline
- Posts: 294
- Joined: May 24th, 2011, 3:44 am
Re: Dankirk the Autoreply Bot (info & suggestions)
Can we get the pokemon theme in like MLP?
I enjoy it very much.
I enjoy it very much.
Aleries: What OS is your server running on?
FierceReacter: 5
FierceReacter: 5
Re: Dankirk the Autoreply Bot (info & suggestions)
- Added Pokemon theme
* "MLP theme" setting on website changed to "Sing-along Themes (MLP, Pokemon)"
* This change makes it easier to add more themesongs in the future. Possibly even via the website
- Added some 40+ jokes
- Fixed !allow
- Added !bans alias for "any bans needed". It kinda has !command characteristics, so there.
- Minor message changes for Fun Facts when "player joined/left" messages are disabled from fCraft settings.
EDIT:
- Rewrote !players
* Now tells the number of visible operators in addition to players on the server
* Players that can /hide silent get removed from the list after 1,5h of silence. (The actual rank can be configured via website)
* "MLP theme" setting on website changed to "Sing-along Themes (MLP, Pokemon)"
* This change makes it easier to add more themesongs in the future. Possibly even via the website
- Added some 40+ jokes
- Fixed !allow
- Added !bans alias for "any bans needed". It kinda has !command characteristics, so there.
- Minor message changes for Fun Facts when "player joined/left" messages are disabled from fCraft settings.
EDIT:
- Rewrote !players
* Now tells the number of visible operators in addition to players on the server
* Players that can /hide silent get removed from the list after 1,5h of silence. (The actual rank can be configured via website)
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
Re: Dankirk the Autoreply Bot (info & suggestions)
Bug: Players are online, but not counted.
<Dankirk> 4 players online: alexmagdo dorycoral mantisman464 Rebelliousdesu ( 1 visible moderators )
<ServerBot> wabeukers: and me
<Dankirk> 4 players online: alexmagdo dorycoral mantisman464 Rebelliousdesu ( 1 visible moderators )
<ServerBot> wabeukers: and me
You cannot use certain BBCodes: [img].
Re: Dankirk the Autoreply Bot (info & suggestions)
- Players are properly re-added to online list if they speak after the 1,5h of silence.
<+FBB2_> Thimerit: There is actually a real dankirk? lol
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?
<+FBB2_> dan9201: Does anyone else think Dankirk may possibly be....
<+FBB2_> dan9201: GOD?