ID:159136
 
Well, in my dbz game u haev to access the base to gain control of it.
so i made an access verb. Whats wrong with it? it keeps coming up as Undefined Var. the undefined Var is "AB"
mob
var
AB = 0
obj
Base
icon = 'g_war.dmi'
icon_state = "bterm"
density = 1
verb
Access()
set category = "Utilities"
set src in oview(1)
if(AB == 1)
src<<"The Guild Base has Already been Tampered with"
else
AB = 1
icon_state = "access"
sleep(200)
world<<"The Guild base has been Captured by [src] - [src.guild_name]"
icon_state = "bterm"
AB = 0
In response to Kaiochao
*falls off chair*
Lawl thank u so much