How to add wire support to my map?

Title says it all.

How do I add wire support to my map just like Gm_Mobenix_V3_Final has for doors? You can lock, unlock and open some doors in the map with wire. How can I do this and maybe some more stuff in my map?

Lua basicly…

So I have to know Lua or some one who knows lua must make a script specially for my map?

yep thats how mobenix got the support for opening and closing the doors, they named the door “Door1A” or something like this



function OpenDoor()

	for k, v in pairs(ents.FindByName("Door1A")) do
		v:Fire("Open","",0)
	end
end

function CloseDoor()

	for k, v in pairs(ents.FindByName("Door1A")) do
		v:Fire("Close","",0)
	end
end


Hmm, ok thanks.