NPC Code:
// NPC fix0red by Grim Squeaker
if (actionMined) {
if (strlen(#s(this.User))==0)
setstring this.User,#a;
this.Mine++;
message #v(this.Mine)% by #v(this.User);
}
if (created||timeout) {
if (strequals(#s(this.User),#a)) {
if (this.Mine==100) {
setimg bushgrape1.gif;
sleep 5;
}
}
timeout=0.1;
}
This is assuming it's a P2P script, otherwise it won't work. It also doesn't seem to actually do anything after it's completed but that's something you'll have to change yourself.
And the owner never actually changes, which is something which Googi would probably love but is rather weird.
Quote:
Originally posted by screen_name
they use this.whatever=#a in playerhouses i think
|
It doesn't work anywhere nor ever. It's always setstring, though there are rumours Stefan is working on changing the scripting engine so it is possible to set string in such a fashion.