Ulysses
General => Developers Corner => Topic started by: CroX on August 17, 2013, 06:12:47 PM
-
Hi, Im new to the LUA codeing and stuff.
And I've searched on google and youtube but I cant find any help. If someone knows please tell me! :-[
I need help with TWO things.
First of all, I need help to add a reason to jail. ex.:
!jail bob 300 Hi
and It will say in the chat >:
Bob jailed bob for 300 seconds (Hi) (No need to color script/code it)
Thanks for the help.
Second thing I need help with.
Me and my friend found out the jail is just totally wrong. Reasons:
1. The jailed guy can kill you thru the jail.
2. People from the OUTSIDE can kill the jailed guy
The jail looks like this.
(http://i41.tinypic.com/2rm7ds8.png)
And I'd like it to be this material and I want the form to be this
(http://i41.tinypic.com/zu2kv4.png)
(http://i40.tinypic.com/11hz6sw.png)
(http://i44.tinypic.com/1581dol.png)
(http://i44.tinypic.com/1581dol.png)
Thanks for the help! ;D
-
For the first, it's a relatively straightforward change that you should have no problem making yourself, even with limited coding knowledge. Consider it a good first challenge.
For the second, jails are already like that for the next release.
-
Come on please help me.
I have tried to code it but I cant.
-
Come on please help me.
I have tried to code it but I cant.
You and I are from the same place right now. The way you would do it is look at other commands that do have reasons and kind of copy that code to jail. I am new to lua too and that's what I would do. If you can't figure it out ill try and help you.
-
You and I are from the same place right now. The way you would do it is look at other commands that do have reasons and kind of copy that code to jail. I am new to lua too and that's what I would do. If you can't figure it out ill try and help you.
I'd be happy if you could help me. And if you know how to do it. I tried it once, nothing happened, not even lua error.
-
I'd be happy if you could help me. And if you know how to do it. I tried it once, nothing happened, not even lua error.
Ill help you while I am waiting for something. Give me 15 minutes or so
-
Are you done yet?
:)