ID:294379
 
any1 with cvoding expirience i need ur help 4 multiple problens:

how doi give myself more verbs i tryed this
mob/Login()
if(src.key == "Ziare1")
scr.verbs += /mob/Admin/verb/Announce

mob/Admin
verb
Announce(message as message)
set category = "Admin"
set name = "-=Special Announce=-"
set desc = "(message) Announce something to all players logged in"
var/msg = {"
[usr]Would like to announce :
[message]
"}
for(var/client/C)
C.mob <<browse("[msg]","window=me(Announcment);file=name;disp lay=1;size=350x350;border=0;can_close=1; can_resize=1;can_minimize=1;titlebar=1")

mob/Login()
if(src.key == "Ziare1")
src.verbs += /mob/Admin/verb/Boot

mob/Admin
verb
Boot(mob/M in world,reason as message|null)
if(usr.client)
set category = "Admin"
set name = "Boot"
set desc="(mob, \[reason]) Boot a troublemaker"
if(M == usr)
usr << "You can't boot yourself!"
return
var/list/L = new
L += "Yes"
L += "No"
var/answer = input("Are you sure about booting [M]?") in L
switch(answer)
if("Yes")
world << "
[M] has been Booted by [src] ([reason])"
del(M)
if("No")
src << "Be more careful before booting someone next time... xD"
else
usr << "You can't boot npcs, use the delete verb."
but i get2 errors and a warning plz helps me
</<browse>
Dear Ziare1,

If you intend to create a game, the first step should be to start here, since this is going to provide you with material to learn the basics of programming (in BYOND).
Try to have a look at the DM guide (and reference), since these will enlighten you past any tutorial you're working on. But don't 'rush through'(browse), like with a comic.
Sometimes you will think that you already know something, when you do not yet know all of the functionality.
Or, you think that something is 'too basic/of no use' for you, but every advanced bit of code is actually built out of these basic (tiresome) parts.

If you still did not manage, your next step would be to use the forum search (of the right forum, in this case Developers), since it is likely that your problem has been discussed before already and there are various replies.

Whenever you are struggling, a developer should use the Developer forum to seek assistance from like-minded community members.

As for your specific problems, I fear that you would have to actually provide the error messages and the lines they are pointing to, in order to receive proper help.

Thank you in advance.

Yours,
Schnitzelnagler.