Ulysses
Ulysses Stuff => Releases => Topic started 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
-
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
if this
then do
that
else
end
Yours is like
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.
-
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
-
4) Now sleep.
-
What does this do exactly? Lol
-
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.
-
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.
-
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.