devolution

Author Topic: Script Idea  (Read 87 times)

balasahu and 1 Guest are viewing this topic.

Offline SaintofLandD

  • Newbie
  • *
  • Posts: 5
Script Idea
« on: May 10, 2022, 08:42:46 PM »
I had an idea for a script; a girl gets arrested for whatever reason, and you have the option of bailing her out. But I couldn't find a script command for putting a girl in jail. Would this be a possibility?

Offline h1262216

  • Jr. Member
  • **
  • Posts: 52
Re: Script Idea
« Reply #1 on: May 16, 2022, 02:04:08 PM »
Adding a `SendToJail` command to the lua scripts should be quite easy. If you are talking about WM 7.1.2. that is.

Offline SaintofLandD

  • Newbie
  • *
  • Posts: 5
Re: Script Idea
« Reply #2 on: May 17, 2022, 10:22:37 AM »
I've had a quick look over some of the scripts, but aren't completely sure how to change them. Last time I tried to add something, I couldn't get it to work despite it looking right.

Offline h1262216

  • Jr. Member
  • **
  • Posts: 52
Re: Script Idea
« Reply #3 on: May 17, 2022, 06:03:48 PM »
If you need help working on scripts, you could take a look at the discord channel. I think that's a bit better suited to talk about code than the rather old forum interface here. I'm not there every day, but I check in regularly.

Offline SaintofLandD

  • Newbie
  • *
  • Posts: 5
Re: Script Idea
« Reply #4 on: May 17, 2022, 09:11:06 PM »
Is there a link somewhere?

Offline h1262216

  • Jr. Member
  • **
  • Posts: 52
Re: Script Idea
« Reply #5 on: May 18, 2022, 04:17:47 AM »