ID:263905
 
Code:
mob
verb
Inform_Bug(T as message)
NoOfBugs++
var/G = "#[NoOfBugs],Start Bug: [T]. End Bug<br>--brought by:[usr]<br>"
Bugs+=G
Check_Bugs()
src<<browse(Bugs)
Remove_Bugs()
var/pie=input("What Bug?") as text
for(var/v in Bugs)
if(findtext(v,pie))
Bugs-=v
NoOfBugs--


Problem description:why isnt it working???

What about it doesn't work? Specify!
In response to Hazman
the for doesnt find the vars in bugs
In response to Biond_coder
Where do you define Bugs? It needs to be a list.
In response to Garthor
yea it should be var/list/Bugs = list()