dev
textPage 42 of 208
50 messages on this page
Thursday, July 22, 2021
User 42795a
I would implement some type of typing, probably strict typing
User 42795a
Just starting to look through this, but I would definitely implement some Try-Catch for security reasons
Wednesday, July 21, 2021
User bc4343
So are these docs the chicken or the egg, I'm confused π I'll take a look today
User bddf69
Mind taking a look at this and give some thoughts? I'm trying this crazy thing where I write docs first before I make the feature π
Think about what you want to use persistent variables for and if this would work? Anything missing from implementation? Also thoughts on the last section pls, how to prevent DB from growing infinitely
@User 32089533 @User 36612002 @User 28552900 @User 44583928 @User 35820176 and @ anyone else who's interested ^^
User 42795a
...persistent variables...
This is why I am lurking in this channel right now. >:)
Tuesday, July 13, 2021
User eca9c0
This is how I want teleporting to work like other games have
User e5e1a1
What about a friends-only and online-only teleport?
User e5e1a1
Honestly, still not seeing why you have allies who don't trust each other
User e5e1a1
If we get persistent variables then probably
User e5e1a1
It can't be done currently, there's no way for the system to wait for input halfway through
User eca9c0
Got one for you guys, this will definitely need regex but it will be super advanced. Player types /tpr {player.name} (but only needs part of the name) the script will then guess which player to tp to, sends them a pm saying {player.name} wants to tp to them. The receiver then types /tpa {player.name} (part of name} then the script runs a teleportplayer and player 1 gets sent to player 2
User a506fe
<:bob:683552201498689536>
User a506fe
couldnt help but make the joke
User a506fe
#forgiveme
User a506fe
User bddf69
Yeah, that ones described in one of the advanced examples
User 374c5d
\d{17} or something
User eca9c0
Pretty sure I already did that
User bddf69
Eg 'how to extract a steam ID from a log line'
User eca9c0
Hmm π€
User bddf69
I was thinking more examples of regex, no? Like building blocks you can stack together to achieve what you want
User bddf69
- Dunno if that info is accesible right now
- It's viewable on the website already, but could be a command aswell. Likely something built in is easiest here
- Check your the
command π$who
User eca9c0
They are already in built commands in botman but I know it's something csmm can do
User a506fe
and then there is vanilla logging
User a506fe
thats a good starting point to start making examples around those
User eca9c0
A custom command to list player beds/lcb/home with player.name and location
Command to list players set teleports
Command to figure out the last time any/specific player was in this location
User a506fe
i will add a section to cpm docu to describe all possible logging from within cpm (mostly event based)
User bddf69
Could you list some of the examples you're looking for? I can make the regexes for that
User eca9c0
I think the guide is a good idea with some more basic copy paste examples
User bddf69
Yeah that is a good point Peter
User a506fe
π
User eca9c0
Also cata I suggest removing the link to the regex Wikipedia page, I took one look at that and nearly fell out of my seat
User bddf69
Yeah, regexr is so good for that. Maybe we just need a 'getting started with regexr' guide? :P
User a506fe
will immedeately change the explenation
User a506fe
realtime so changing \w to \s
User bddf69
Yeah true!
User a506fe
so if someone copy pastes a big regex chunk into regexr
User a506fe
in detail
User a506fe
that is also in the bottom pane
User 374c5d
could you incorporate that into the docs?
User 374c5d
thats what I was talking about earlier
User eca9c0
Yep that
User bddf69
(from regexr)




