ID:143371
 
Code:
obj
hud
HUD
layer = MOB_LAYER + 1
icon = 'HUD.dmi'

worldsay
icon_state = "worldsay"
Click()
var/T = input("OOC")as null|text
if(usr.muted==1)
alert("You Are Muted")
if(usr.muted==0)
world << "\[OOC\][usr]:[t]"
New(client/C)
screen_loc = "1,1"
C.screen+=src


Problem description:i dont know whats wrong

what are the errors? it looks like you just copy and pasted that guys code he exampled for you in the developer how to... and what are the errors?
In response to Jman9901

New Char.dm:80:error: Bad input type
New Char.dm:80:error: Bad input type: world
New Char.dm:80:error: Bad input type: <<
New Char.dm:80:error: Bad input type
New Char.dm:80:error: Bad input type: usr.muted
New Char.dm:80:error: input type (usr.muted) must be atomic (area, turf, obj, or mob).
New Char.dm:80:error: Bad input type: ==
New Char.dm:80:error: Bad input type: else
New Char.dm:80:error: Bad input type
New Char.dm:80:error: Bad input type: alert
New Char.dm:80:error: Bad input type
New Char.dm:80:error: Bad input type: usr.muted
New Char.dm:80:error: input type (usr.muted) must be atomic (area, turf, obj, or mob).
New Char.dm:80:error: Bad input type: ==
New Char.dm:80:error: Bad input type: if
In response to Chrislee123
how about instead of copy and pasting someone's code, you actually use it as an example and code it yourself? that's why you got all of the errors...
In response to Jman9901
sometimes if you forget a parenthesis or something, it will give a ton of errors.
In response to Kakashi24142
errors like that?
In response to Jman9901
hmm no, but I remember getting these errors, it was an easy fix though, I forgot what I did wrong.
In response to Kakashi24142
ok, that meens these errors were before this code was even put into the game, this thing doesnt have that many errors in this code.
In response to Super Silly Stuart
Everything under this line
var/T = input("OOC")as null|text

is incorrectly indented. That's why you keep getting all those errors. In fact I'm surprised that none of them were indentation errors.
In response to Pyro_dragons
actually, i think its the if's that r indented wrong, either way, he needs to indent correctly.
In response to Super Silly Stuart
The if() statements are after the line a posted, so they were included in what I said.
In response to Pyro_dragons
well, sitll, the first thing isnt indented wrong, only the things after, at least i think.
In response to Super Silly Stuart
Which is what I said, for the 2nd time. Do you read at all?
In response to Pyro_dragons
i read it all, but u said the first thing u said was tabbed wrong, so that would be incorrect.
In response to Super Silly Stuart
Tabbed and indented are the same damn thing. And if you actually read my first post, I do say "indented".