Help Getting and Setting Propertys in Accounts
Posted: Wed Oct 29, 2008 12:28 pm
Hello.
I'm trying to create New Propertys and Get some of them, but I don't know why I'm not able to do such thing.
Why I'm not able to get the Account Name? It Returns "Property Not Found". Can someone help me?
I'm trying to create New Propertys and Get some of them, but I don't know why I'm not able to do such thing.
Code: Select all
use uo;
use os;
program dildo(cmd)
var eita,name;
cmd := cmd;
eita := FindAccount("admin");
name := eita.GetProp("Name");
eita.SetProp("Coisa", 1);
print("Name: "+ eita.GetProp("Name"));
print("Coisa: "+ eita.GetProp("Coisa"));
return 1;
endprogram