Files

> > CS2D > Lua Scripts > More useful "parse" function!
Files overviewCS2D overviewLua Scripts overview

English More useful "parse" function! >

14 comments746 b, 538 Downloads

old More useful "parse" function!

SDKey
User Off Offline

More useful "parse" function:

illegal Standart parse:
1
2
3
4
5
msg = '"It is bad"'

parse ("hudtxt " .. id .. " " .. msg .. " " .. x .. " " .. y .. " 0")
parse ("equip " .. id .. " " .. weapon)
parse("restart 0")
√ New parse:
1
2
3
4
5
6
7
8
9
10
msg = '"It is good"'

parse.hudtxt (id, msg, x, y, 0)

parse.equip (id, weapon)
parse('equip', id, weapon)
p.equip(1, 45)
p('equip 1 45')

p.restart'0'

Installation:
More >

Using:
More >


Thanks.
Approved by Starkkz

Download Download

746 b, 538 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

rapidblade
User Off Offline

WOW THIS VERY HELP ME... THX FOR THIS SCRIPT :D...
I like it!

old

palomino
User Off Offline

Niiice
I like it!

old

SDKey
User Off Offline

no, conflict with my and your script

old

palomino
User Off Offline

Sorry, but I don't quite see the point in it. My other scripts aren't conflicting with each other, so why was this made?
I like it!

old

SDKey
User Off Offline

* new update

old

Anti
User Off Offline

nice idea)
I like it!

old

DC
Admin Off Offline

nice idea, but there already is wrapper.lua to make it even easier
I like it!

old

DARTYsam6uelAdmin
User Off Offline

This is a pretty good lua. Not all the best yet
I like it!

old

Crazyx
User Off Offline

Life turns easier with this!!!

IMG:https://unrealsoftware.de/img/rating.gif
I like it!

old *Update

SDKey
User Off Offline

I working, and I present you final parse function.
It is more good than last version.
It is additions for parse function.
If you add it in your script, you may use it without conflict.

old

Vectarrio
User Off Offline

I've seen the title (from home page) and thought that it is 1,2,3 instead of "1 "..2.." "..3
So, i thought right! Good idea!
I like it!

old Re:

SDKey
User Off Offline

Thanks

old

Cure Pikachu
User Off Offline

Probably will make life easier.
Nice idea of simplifying the command.
EDIT: I can call this "wrapper.lua's alternative".
I like it!
edited 2×, last 28.04.10 12:11:55 pm

old

Alpha Beta
User Off Offline

I didn't test it, but i like the idea
I like it!
edited 2×, last 27.04.10 05:01:46 pm
To the start Previous 1 Next To the start