Forum

> > CS2D > Scripts > Whats wrong whit this script commend
Forums overviewCS2D overview Scripts overviewLog in to reply

English Whats wrong whit this script commend

6 replies
To the start Previous 1 Next To the start

old Whats wrong whit this script commend

Sniper Killer
User Off Offline

Quote
i download i script for my Server Then i see commends saw i try !strip commend but dont work saw i go to the script copy the !strip commends Lines and paste here hope you will help me

1
2
3
4
5
6
7
8
9
10
11
12
if txt:sub(1,6)=="!strip" then
		if pl[id].lvl >= 5 then
			t = tonumber(txt:sub(8,9))
			if not player(t,"exists") then error(id,txt,2) return 1 end
			msg(color[2]..""..pl[id].name..""..color[1].." stripped "..color[2]..""..pl[t].name)
			parse("strip "..t)
			return 1
		else
			error(id,txt,1)
			return 1
		end
	end

old Re: Whats wrong whit this script commend

THEMUD
User Off Offline

Quote
I think the error in the spacing in line 5 between the "".
Copy this line and replace it on the line 5:
1
msg(color[2].." "..pl[id].name.." "..color[1].." stripped "..color[2].." "..pl[t].name)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview