A few basic verbs for beginners!
|
|
Hope this helps!
Here are a few bits of basic code to help out people who have just started learning to code.
OOC verb
mob/verb OOC() var text=input("What would you like to say: ")as text world << "OOC---[src] says:[text]"
|
Say verb
mob/verb Say() var/text=input("What would you like to say: ")as text view(usr,7) << "[src] says:[text]"
|
Who verb
mob verb Who() var/PlayerCount usr << "<font color = blue size = 4>((-Players Online-))" for (var/mob/M in world) if (M.client) PlayerCount ++ usr << "--<font color = white>(player=[M] Key=[M.key])<font color=blue>--" usr << "<font color = red size = 3> ((-[PlayerCount] Players Online-))" world.status = "((-[PlayerCount] Players Online. World Running Version 1.0-))"
|
These are just a few verbs i created for anyone to use in their game, hope they help.
King_Ed
|