I want only work for terror, if I say /equip 2 32, the terror have received the weapon, I wanna a script if He is equiped, Strip in the same time.
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
Strip System
13 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
I want only work for terror, if I say /equip 2 32, the terror have received the weapon, I wanna a script if He is equiped, Strip in the same time.
1
2
3
2
3
strip <id> <wpn> /strip 1 45
edited 1×, last 01.08.14 04:10:06 pm
![user](img/i_friend.png)
![](img/smiles/talk.gif)
Edit: now. He need a script
edited 1×, last 01.08.14 04:11:12 pm
![user](img/i_friend.png)
Talk to me in PM and I'll help you.
![user](img/i_friend.png)
sarcasm ?
![user](img/i_friend.png)
Oh, sorry did not read everything already hired him for PM
![user](img/i_friend.png)
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
function youractionhere(id) 	-- Your action here! end addhook("parse","_parse") function _parse(cmd) 	if cmd:find("equip %d+ %d+")==1 then 		local id=tonumber(cmd:match("equip (%d+) %d+")) 		if player(id,"exists") and player(id,"team")==1 then 			timer(20,"youractionhere",id) 		end 	end end
Well, untested.
![](img/smiles/ugly.gif)
There are some strip commands given in several happytown scripts you might check them and code it to how you need it.
![user](img/i_friend.png)
![](img/smiles/ugly.gif)
![user](img/i_friend.png)
But i guess this is what happens when you just put randomly chosen words together just to have a complete sentence
![](img/smiles/ugly.gif)
![user](img/i_friend.png)
@
![user](img/i_friend.png)
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)