Files

> > CS2D > Lua Scripts > Action Menu by Clean
Files overviewCS2D overviewLua Scripts overview

English Action Menu by Clean >

14 comments2 kb, 529 Downloads

old Action Menu by Clean

Clean
User Off Offline

Hello guys, this is my first script and it contains some actions in a little menu.
To see that action menu, type !action in the chat.
This is not very useful tho.
Please, rate and comment. And remember, this is my first script!
Approved by GeoB99

Download Download

2 kb, 529 Downloads

Comments

14 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Jeferes
User Off Offline

Chat !action. you open menu

old

Dovahkin
User Off Offline

Impressive not bad but ill rate 4/5.
I like it!

old

DannyChan
User Off Offline

good and good
i like it
I like it!

old

chuck123
User Off Offline

To first script is good...
Very Good.
I like it!

old

bestquit
User Off Offline

awesome! Good Script 5/5
I like it!

old

ucoz
BANNED Off Offline

ok ok am testid it
it is Very


Very Fun!
I like it!

old

LeagueOfLegends
User Off Offline

3/5 cuz it's easy.
Would be 2/5, but 3/5 cuz ur first script
I like it!

old

Clean
User Off Offline

@||ZeBaR||
It's my first script and i'm not PRO at this, so i can't make epic big scripts like zombie plague.
Please, think before rating.
Atlease 1/5

old

ucoz
BANNED Off Offline

bad ! its easy
try for new pruject
I like it!

old

DannyDeth
User Off Offline

Good, I'm sure you will have fun making it
And a small tip:
use string.sub to find the ID of the play like this:
1
2
3
if string.sub(The_strings_name,1,4)=="@ban" then
	parse("ban "..string.sub(The_strings_name,6,string.len(The_strings_name))
end

Where it has string.sub, replace 4 with the total length of your word + 1, in the case of "ban" it would be 3 + 1, so thats why i wanted the section of the string from the first character in the string to the fourth. Then you need to count the on past the space ( the space would be at number 5 in the string ), so we go from 6th to string.len ( len is short for length ).
I like it!

old

Clean
User Off Offline

I'm gonna work on a fun script later tho.
@DannyDeth:
Ok, i will.

old

DannyDeth
User Off Offline

@TheHProject:
Your math is terrible,
     1/5 - 5/5 = 0.2 - 1 = negative 0.8 = negative 4/5
Don't give up school just yet.


Script:
Look, there are thousands of scripts that do this ( literally, trust me ), but your use of "next" deserve a light ripple of applause ( the kind you hear when a grunting tennis player manages to end a rally and get some points ), but here is a little tip.
Insert the code:
1
return 1
At the end of your function so that the !action thing doesn't appear in the chat window.

And if you would like a fun and challenging ( yet not too hard, but for a newbie it's a fair brain-teaser ) thing to do, write a script that can ban, slap and kick people using the commands
1
2
3
@ban
@slap
@kick
with the persons id next to it.
But okay script, well done
3/5
I like it!

old

Clean
User Off Offline

I'm gonna work on a better 1 soon tho..

old (Y)

TheHProject
BANNED Off Offline

Good Menu.

5/5 for the menu

1/5 becuz its ur 1st script

soo.. calculate it 1/5-5/5=4/5

good luck
I like it!
To the start Previous 1 Next To the start