PakL
Follow
Full stack web developer with over 15 years of experience. Started with PHP, now delving into go and rust.
- Leverkusen, Germany
- https://pakl.dev/
Pinned Loading
-
TTVStreamerTool
TTVStreamerTool PublicTTVST is an application aimed at Twitch streamer.
-
-
ProcessAffinityWatcher
ProcessAffinityWatcher PublicWatch processes and automatically set processor affinity.
C# 1
-
-
Nightbot command to roll dice
Nightbot command to roll dice 1Simple Nightbot command to roll any number of any kind of dice
23```
4$(eval var i=parseInt,d=[],e='$(provider)'=='twitch'?'melziiD20':'🎲20',j=0,l,m='$(query)'.match(/^(([0-9]+)\s+)?(([0-9]+)?d([0-9]+)|([0-9]+))$/)??{},c=i(m[2]??1),n=i(m[4]??1),s=i(m[5]??m[6]??20);c=c>20?20:(c<1||!c?1:c);n=(n<1?1:n);s=(s<1?1:s);for(;j<c;j+=1){d.push(Math.round(n*(s-1)*Math.random())+n)}r=`$(user) rolled ${d.join(', ')} with ${n<2?'a ':n+'×'}🎲`+s;l=r.lastIndexOf(',');(l<0?r:r.substr(0,l)+' and'+r.substr(l+1)).replace(/( |🎲)20(,| |$)/g,` ${ e } $2`))
5```
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.