ID:143742
 
Code:
var
budo_count = 0
budokai = 0
mob/var/budokai_wins = 0

mob/learn
verb
Join_Budokai()
set category = "Budokai"
if(budokai)
if(src.pk)


Problem description:
the purpose in this code is when an Admin "hosts" a tornament the player can join by adding a verb to his list of verb.
when I try to compile it says that in this line:
if(src.pk)
has no effect.
what's the problem?

there is no code behind the if command, just put something like this to run when the condition is true: usr<<"test"
Did you even read the error. These errors weren't meant to be put in some kind of encrypted code that no one could understand. It means what it says, that if has no effect.