NoPixel MDW/Penal Code bot for Nightbot

This command will display descriptions of any charges of NoPixel penal code in twitch chat.

how to use:

use “!mdw charge name” to read the description of a charge. for example: !mdw reckless evading


how to add it to nightbot:

add the command to nightbot via chat:

!commands add !mdw -ul=subscriber -cd=5 $(urlfetch https://lao.pe/bot/pcode.php?query=$(querystring))

this will add the command !mdw to Nightbot, with a 5 seconds cooldown and only available to subs.

or

in nightbot custom commands site, add:

command: !mdw
message: $(urlfetch https://lao.pe/bot/pcode.php?query=$(querystring))
userlevel: Subscriber
cooldown: 5 seconds

changelog:

2022.06.11

Google sheet updated (finally!), massive fine/time update of every charge. & new charges.

Charges Updated

  • Robbery of a Financial Institution
  • Robbery
  • Grand Larceny
  • Sale of Stolen Goods or Stolen Property
  • Embezzlement
  • Conspiracy
  • Riot
  • Misdemeanor Possession of Ketamine
  • Misdemeanor Possession of Controlled Dangerous Substance “OXY” / “METH”
  • Possession of Drug Paraphernalia
  • Human Trafficking
  • Criminal Possession of a Firearm [Class 2]
  • Possession of Explosives
  • Criminal Use of Explosives
  • Operating a Motor Vehicle Without Proper Identification
  • Street Racing
  • Misdemeanor Animal Cruelty
  • Felony Animal Cruelty

Charges Added

  • Possession of Contraband in the Third Degree
  • Possession of Contraband in the Second Degree
  • Possession of Contraband in the First Degree
  • Possession of a Tampered Firearm
  • Misdemeanor Possession of Unknown Prescription Medication
  • Felony Possession of Unknown Prescription Medication
  • Sale of Marijuana Seeds
  • Criminal Possession of a Civilian Firearm [Class 2]
  • Possession of Weapon Attachments
  • Treason
  • Misuse of a High-Performance Rental Vehicle
  • Felony Misuse of a High-Performance Rental Vehicle
  • Criminal Use of a Gill Net
  • Misdemeanor Possession of a Gill Net
  • Misdemeanor Possession of Illegal Fishing Hooks
  • Criminal Use of Illegal Fishing Hooks

Charges Removed

  • Receiving Stolen Property in the Third Degree
  • Receiving Stolen Property in the Second Degree
  • Receiving Stolen Property in the First Degree
  • Possession of Stolen Goods
  • Criminal Possession of a Taser
  • Possession of a Silencer / Suppressor
  • Criminal Possession of Government-issued Flashbang
  • Riding on a Sidewalk

14.11.2021

Charges Added

  • Misdemeanor Possession of Thermite Charges
  • Felony Possession of Thermite Charges
  • Misdemeanor Possession of Metamorphine
  • Felony Possession of Metamorphine

Definitions Added

  • Gang Related
  • Criminal Street Gang

08.11.2021

Charges Added

  • Act of Torture
  • Receiving Stolen Property in the Third Degree
  • Receiving Stolen Property in the Second Degree
  • Receiving Stolen Property in the Third Degree
  • Misdemeanor Animal Cruelty
  • Felony Animal Cruelty
  • Misdemeanor Possession of Ketamine
  • Felony Possession of Ketamine
  • Misdemeanor Possession of Moonshine
  • Felony Possession of Moonshine

Charges Updated

  • Stalking
  • Cultivation of Marijuana
  • Street Racing

Charged Removed

  • Possession of Stolen Property in the Third Degree
  • Possession of Stolen Property in the Second Degree
  • Possession of Stolen Property in the First Degree
  • Animal Cruelty

Other

  • mdt.php renamed to pcode.php

18.07.2021

Charge Removed:

  • Loitering

11.07.2021

Charge Added:

  • Robbery of a Financial Institution

30.06.2021

Charge Updated:

  • Possession of Explosives

07.06.2021

Charge Updated:

  • Misdemeanor Possession of Marijuana
  • Felony Possession of Marijuana
  • Possession of Stolen Property in the Third Degree
  • Possession of Stolen Property in the Second Degree
  • Possession of Stolen Property in the First Degree

17.05.2021

Charge Updated:

  • Loitering

05.05.2021

Charge Updated:

  • Sale of Drugs

04.05.2021

Charge Updated:

  • Criminal Sale of a Firearm [Class 1]

03.05.2021

Charge Added:

  • Unauthorized Sales

17.04.2021

Charge Updated:

  • Grand Larceny.

15.04.2021

Charge Updated:

  • Vandalism of Government Property.

Charge Added:

  • Destruction of Government Property.

12.04.2021

Charges Added:

  • Theft of an Aircraft.
  • Theft of a Commercial Aircraft.

Definition Added:

  • Driver License Removal.

28.03.2021

Charge Updated:

  • Vehicle Registration Fraud.

24.03.2021

Charges Added:

  • Misdemeanor Possession of Moonshine.
  • Felony Possession of Moonshine.

18.03.2021

Charges Updated:

  • Poaching.

Charge Added:

  • Hunting in an Unregulated Area.

Removed descriptions of accessory charges.

11.03.2021

Charges Added:

  • Money Laundering.
  • Embezzlement.
  • Felony Possession of Human Remains.
  • Misdemeanor Tax Evasion.
  • Felony Tax Evasion.

01.03.2021

  • Charge updated: Criminal Possession of a Firearm [Class 3]

21.02.2021

  • updated terminology: from Judge Decision to Judicial Discretion.

20.02.2021

  • Charge updated: Misdemeanor Possession of Controlled Dangerous Substance “OXY” / “METH”
  • Charge updated: Felony Possssession of a Controlled Dangerous Substance “OXY / METH”
  • Panthers added to the Restricted Animals List.
  • Added: Accomplice & Accessory definitions.

10.02.2021

  • New charge: Poaching.
  • New charge: Hunting/Fishing Without a License.
  • Added Restricted Animals List.
  • renamed examples to from MDT to MDW to mirror the Mobile Data new name.

16.01.2021

  • Updated charge: Burglary.

13.01.2021

  • New charge: Concealing an Escaped Prisoner.

03.01.2021

  • fixed a few minor errors.

29.12.2020

  • added Forcer’s Law.

15.11.2020

  • fixed fine/time for Public Indecency.
  • November statute changes:
  • Forced Coercion (2723) removed.
  • Human Trafficking (2723) added.
  • Prostitution (2724) added.

13.09.2020

  • September statute changes:
    Updated Charges: Drug Trafficking, Weapons Trafficking, Prison Break.
    New Charges: Felony Possession with intent to Distribute Forced Coercion.
  • more search fine tuning.

09.09.2020

  • search fine tuning.

05.09.2020

  • improved partial search results, you can search for partial charge names and hopefully the command will find the description. for example: !mdt reckless will show reckless evading description.
  • added easter eggs for a few charge names pentawJ

22.08.2020

  • First public version.