ID:263326
 
Code:
mob
Login()
if(client.IsByondMember())

src.clevel=100
src.battlepoints=100
src.maxpowerlevel=1000000
src.powerlevel=1000000
src.KI=1000
src.MaxKI=1000
src.zenni=50000
src.defense=1000
else
src << "BYOND Member gets a super boost for helping us and BYOND</a>!"
return ..()


Problem description: the error is
Code\characterhandling.dm:674:error:client.IsByondMember:und efined proc

i have no clue whats wrong with it if someone could help me that be nice


you have () on the end of it o.o
In response to Falacy
He needs the parantheses because it's a procedure. Please don't post in reply on the forums when you don't know what you're talking about.

I tried what you had, and I didn't get the error. Perhaps you have a version of BYOND that doesn't contain the procedures (I don't know which version got that procedures, or if that could even be the problem)?
Which version of BYOND are you compiling with?

Lummox JR
In response to Popisfizzy
i have the old byond i cant get 3.5 cause it freezes on me all the god damn time
That's the problem, the proc IsByondMember came out in the version 343 (BYOND 3.5 Beta 1)


A work around would probably be using world.Export() and getting the person's people page... I think getting the people page for a member gives a 302 error or something like that... oh wel,, experiment and see >_>

- GhostAnime
In response to GhostAnime
Using that method would allow for people whos membership has expired though...
In response to Smoko
If you just check to see if /people/key returns a 302 error you can tell if they're a member, not even expired member's people pages forward to their member page, just active members.