Ulysses

Ulysses Stuff => Releases => Topic started by: tomisord1 on December 26, 2014, 08:17:11 PM

Title: Lick
Post by: tomisord1 on December 26, 2014, 08:17:11 PM
Hey guys its my first command i made in ulx and all, it may have some bugs but its awesome to play with
There are some variables at the top of the script if you want to change some things and the usage is
!lick (ply)
To install it, put this lua script in ulx/modules/sh
Thanks for checking this out ^^
oh and also any criticism will be fine
Title: Re: Lick
Post by: JamminR on December 26, 2014, 09:13:46 PM
Tips/Recommendations
1) learn to convert your releases to addon format. Feel free to ask/search how in developers corner section of our forum, and, there are plenty of releases here to learn from by example
2) tounge: Obsolete spelling of tongue - according to Google. So, technically, you spelled it correctly, but, only in the olden days.
3) Use a code editor that will indent your code.
Proper/easy to read code would be like
Code: [Select]
if this
  then do
    that
  else
end
Yours is like
Code: [Select]
if this
then do
that
else
end
No, you don't have to indent, but, it will sure help you later when coding to find out why a certain operator comparison isn't acting right.

And, see examples of other releases here for better presentation.
Title: Re: Lick
Post by: tomisord1 on December 26, 2014, 09:17:57 PM
ah OK, thx for the feedback, ill try to improve in future, atm its 5am and i haven't slept... so yeah... ill fix it later today
Title: Re: Lick
Post by: JamminR on December 26, 2014, 09:20:20 PM
4) Now sleep.
Title: Re: Lick
Post by: silentkiller101 on March 14, 2015, 07:09:19 PM
What does this do exactly? Lol
Title: Re: Lick
Post by: Aaron113 on March 14, 2015, 09:15:15 PM
What does this do exactly? Lol

My thought exactly without downloading it.  Might be wise to also give a brief description of what your command/script does.
Title: Re: Lick
Post by: Bite That Apple on March 15, 2015, 07:30:27 PM
My thought exactly without downloading it.  Might be wise to also give a brief description of what your command/script does.

What does this do exactly? Lol

ulx.fancyLogAdmin( calling_ply, "#A hurt #T by #s whilst licking him/her", affected_plys, dam)
ulx.fancyLogAdmin(calling_ply, "#A set #T on fire for #s seconds whilst licking him",affected_plys,timeburn)
ulx.fancyLogAdmin( calling_ply, "#A healed #T by #s with a green tounge",affected_plys, heal)
ulx.fancyLogAdmin( calling_ply, "#A normally licked #T", affected_plys)

looks like a slap and hp type of thing.
Title: Re: Lick
Post by: JamminR on March 15, 2015, 07:46:49 PM
I thought I asked original poster to give more info all those months ago. But, yeah, from the code review, it's a random heal/punish.
A lick from someone could have minty fresh healing power, do nothing, or acid bad breath hurting powers.