ID:262633
 
Code:
mob
verb
add_to_screen()//a verb to add something to the user's screen
var/obj/hud/hud1/A=new()//create a var A and make it to a new anything
usr.client.screen+=A//add the anything to the user's screen
var/obj/hud/hud2/B=new()
usr.client.screen+=B
var/obj/hud/hud3/C=new()
usr.client.screen+=C
var/obj/hud/hud4/D=new()
usr.client.screen+=D
var/obj/hud/hud5/E=new()
usr.client.screen+=E
var/obj/hud/hud6/F=new()
usr.client.screen+=F
var/obj/hud/hud7/G=new()
usr.client.screen+=G
var/obj/hud/hud8/H=new()
usr.client.screen+=H
var/obj/hud/hud9/I=new()
usr.client.screen+=I
var/obj/hud/hud10/J=new()
usr.client.screen+=J
var/obj/hud/hud11/K=new()
usr.client.screen+=K
var/obj/hud/hud12/L=new()
usr.client.screen+=L
var/obj/hud/hud13/M=new()
usr.client.screen+=M
var/obj/hud/hud14/N=new()
usr.client.screen+=N
var/obj/hud/hud15/O=new()
usr.client.screen+=O
var/obj/hud/hud16/P=new()
usr.client.screen+=P
var/obj/hud/hud17/Q=new()
usr.client.screen+=Q
var/obj/hud/hud18/HH=new()
//:HH :warning: variable defined but not used
usr.client.screen+=bh
var/obj/hud/hud19/S=new()
usr.client.screen+=S
var/obj/hud/hud20/T=new()
usr.client.screen+=T
var/obj/hud/hud21/U=new()
usr.client.screen+=U
var/obj/hud/hud22/V=new()
usr.client.screen+=V
var/obj/hud/hud23/W=new()
usr.client.screen+=W
var/obj/hud/hud24/X=new()
usr.client.screen+=X
var/obj/hud/hud25/GG=new()
//:error:GG :unknown variable type
usr.client.screen+=GG
//error:GG:undefined type: GG
var/obj/hud/hud26/Z=new()
usr.client.screen+=Z
var/obj/hud/hud27/AB=new()
usr.client.screen+=AB
var/obj/hud/hud28/BB=new()
usr.client.screen+=BB
var/obj/hud/hud29/CB=new()
usr.client.screen+=CB
var/obj/hud/hud30/DB=new()
usr.client.screen+=DB
var/obj/hud/hud31/EB=new()
usr.client.screen+=EB
var/obj/hud/hud32/FB=new()
usr.client.screen+=FB


Problem description:
hud.dm:146:error:GG:undefined type: GG
hud.dm:145:error:GG :unknown variable type
hud.dm:131:HH :warning: variable defined but not used
-----------------------------------------------------
first time ive used this fourm plz can some 1 help me

I don't believe you need all that, seeing as, to first of all shorten it, you could simply remove the variable and do something like "usr.client.screen+=new /obj/hud/hud1", however to shorten all that into one line..
usr.client.screen+=typesof(/obj/hud/)