Forum

> > CS2D > Scripts > Search for a scripter
Forums overviewCS2D overview Scripts overviewLog in to reply

English Search for a scripter

24 replies
Page
To the start Previous 1 2 Next To the start

old Re: Search for a scripter

Starkkz
Moderator Off Offline

Quote
@user Pseudon: srring.split does not exist in Lua, it's better to use string.match instead of that.
1
2
3
4
p = string.match(text, "@kick (%d+)")
if p and player(p, "exists") then
parse("kick "..p)
end
Where (%d+) looks up for a digit.
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview