to reverse the effect just write the word again
example : say laser
laser enabled -- you get a laser when you got hit by a usp
say laser
laser disabled --you don't get any laser when you got hit.
try this :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
lazor = 0 portal = 0 addhook ("say","sages") function sages(id,text) if text=="laser" and lazor ==0 then lazor = 1 msg ("laz0r gun enabled") elseif text=="laser" and lazor ==1 then lazor = 0 msg ("laz0r gun disabled") end if text=="portal" and portal ==0 then portal = 1 msg ("p0rtal gun enabled") elseif text=="portal" and portal ==1 then portal = 0 msg ("p0rtal gun disabled") end end addhook ("hit","ho") function ho(id,source,we) if we == 1 and lazor == 1 then parse ("equip "..id.." 45") end if we == 1 and portal == 1 then parse ("equip "..id.." 88") end end