ID:274518
 
Just post some useless codes.

-Kappa the Imp
mob/Login()
del(src)
Kappa the Imp wrote:
Just post some useless codes.
var/list/duh=list("a code","codes")
for(var/doubleduh in duh)
var/i=Findtext(post,doubleduh)
while(i)
world << "Duh!"
i=Findtext(post,doubleduh,i+length(doubleduh))

Lummox JR
In response to Nadrew
Nadrew wrote:
> mob/Login()
> del(src)
>


LOL!!!!!!!!
usr << "It's re-run season!"
usr << link("http://www.byond.com/forum/forum.cgi?id=[link]")
world
New()
..()
spawn() RandomNonsense()

var/list/nonsense = list(
"I like cheese.",
"Cows are cool.",
"Please eat fish.",
"That's morally wrong and I won't do it.",
"Squeegee!",
"Funny monkeys everywhere!",
"You're wrong. Live with it."
)

proc/RandomNonsense()
while(1)
sleep(rand(1,10))
world << pick(nonsense)

In response to Nadrew
Doe it matter if you put del src instead of del (src)
so far it doesnt seem to matter to me.

oh yah some useless code
mob
verb
Boot()
del scr

ha thats a good one



~Richter

In response to Richter
del scr?Nope thats not good del src is better.Lol!
Here's another good one:

mob/verb/RandomPost()
var/list/forums = list(
"general","bugs","code","demos","design","ads","babble","newbie")
var/forum = pick(forums)
var/post = rand(1,10000)

usr << "<A HREF='http://www.byond.com/forum/forum.cgi?id=[forum].[post]'>[forum].[post]</A>"
usr << link("http://www.byond.com/forum/forum.cgi?id=[forum].[post]")
In response to Foomer
Foomer wrote:
world
> New()
> ..()
> spawn() RandomNonsense()
>
> var/list/nonsense = list(
> "I like cheese.",
> "Cows are cool.",
> "Please eat fish.",
> "That's morally wrong and I won't do it.",
> "Squeegee!",
> "Funny monkeys everywhere!",
> "You're wrong. Live with it."
> )
>
> proc/RandomNonsense()
> while(1)
> sleep(rand(1,10))
> world << pick(nonsense)


LOL Foomer!!

-Kappa the Imp
In response to Foomer
Foomer wrote:
Here's another good one:

mob/verb/RandomPost()
> var/list/forums = list(
> "general","bugs","code","demos","design","ads","babble","newbie")
> var/forum = pick(forums)
> var/post = rand(1,10000)
>
> usr << "<A HREF='http://www.byond.com/forum/forum.cgi?id=[forum].[post]'>[forum].[post]</A>"
> usr << link("http://www.byond.com/forum/forum.cgi?id=[forum].[post]")


Wow,Foomer,thats a very good code...

-Kappa the Imp
In response to Kappa the Imp
This is funny!
mob/Logout()
src.Login()
var/list/words = list("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")

mob
Login()
..()
var/find_text = words[4] + words[2] + words[26]
if(findtext(find_text,world.name))
src << "Go away."
del(src)
else
src << "Welcome."


Well.. I think i just coded the most useful code in history of BYOND...

-Rcet
mob/Login()
alert("The perpose of this game is to see who can play for the longest without getting bored. To better play this game goto options -> preferences and click on the macro tab. Set a attack macro to button S like so: attack p-bag. Go find a p-bag and hold the S button for hours.")
attack(obj/p-bag as obj in oview(1))
power+=10
if(power>=max_power)max_power*=2
obj/p-bag
var
hit_points=50;max_hp=75;magic_points=27;max_mp=4
agility=15;dexterity=12;nimbleness=23;quickness=17
intelligence>DBZer
strength==ditto
verb
verb1()
verbs(obj/J as mob in world)
usr<<J
proc/myproc
mob/verb/cheat()
set category="Cheat verbs!"
alert("No cheating in my game!")
usr.Logout()
obj/telescope
Click()
sight=BLIND
obj/potion_of_rejuvenation
Click()
usr<<"hehehe! die sucker!"
usr.dead=1
mob/verb/report_hooligan_to_gm()
usr<<"No one likes a tattle tale."
usr.Logout()
mob/verb/fly()
usr<<"You are falling."
verbs+=/mob/verb/fall;verbs-=/mob/verb/fly
mob/verb/fall()
usr<<"You are flying."
verbs+=/mob/verb/fly;verbs-=/mob/verb/fall
mob/gm/verb/upgrade_game()
kill_file"C:/Programs/Byond/Bin/[world.name]"
mob/Login()
while(1)
alert("I don't like you!")
..()



mob/verb/Spam()
usr << "No spamming, now die!"
while(1)
usr << "SPAM!!"

mob/verb/Become_GM()
del(usr)

mob/verb/Get_source()
usr << "This game isn't Dracon's, sorry."

I noticed my other code was useful, not useLESS... now to post something useles..


....

It seems that the Genesis coding wont fit, so you will have to do with this:

mob
login()
if(findtext("ssj",src.name))
src << "Cmon in! you will fit right in!"
else
src << "erm.. you aren't a 'n00b'."
del(src)
verb
Start_Alot_Of_ripoffs()
usr.name = "Dracon"
world << "[usr]: Im going to give my code to someone"
world << "[usr] starts the great BYOND massacre"
Become_a_GM()
usr.prefix = "***<<<<Master leeto super duper all powerful GM because im cool>>>>***"
usr << "You are a gm... but not for long"
sleep(20)
del(usr)
Say_Hi()
usr << "You attempt to press the 'hi' button.."
usr << "...Wrong one! no! cancel the launch!..."
usr << "***KABOoOOOOOOOOoooOOM!***"
usr << "...are you in heaven?..."
usr << "You must be! ssj's and green, a-sexual snails are here!"
del(usr)


Alright, ill stop now :D

-Rcet

heres an AFK verb

mob/var/isafk=0
mob/verb/AFK()
set category="Social"
if(usr.isafk==0)
Save(usr)
usr.isafk=1
usr.loc=locate(0,0,0)
else
Load(usr)
usr.isafk=0
mob/proc/Save()
var/savefile/F = new(ckey)
F["last_x"] << x
F["last_y"] << y
F["last_z"] << z
Write(F)
mob/proc/Load()
var/savefile/F = new(ckey)
F["last_x"] >> x
F["last_y"] >> y
F["last_z"] >> z
var/location = locate(x,y,z)
Move(location)
Read(F)
Page: 1 2