Page 1 of 1
wat
Posted: Sun Jun 17, 2012 3:49 pm
by morbydvisns
Posted: Sun Jun 17, 2012 5:03 pm
by zaroba
var being set elsehwere as well maybe?
Posted: Sun Jun 17, 2012 5:57 pm
by morbydvisns
Nah, I typed that fresh var just minutes before testing.. it's the only instance of it.
Posted: Sun Jun 17, 2012 6:34 pm
by Mit
u using the 62.2 server?
Posted: Sun Jun 17, 2012 7:10 pm
by morbydvisns
yessir.
Posted: Mon Jun 18, 2012 11:53 pm
by Mit
mmm
Posted: Tue Jun 19, 2012 1:03 am
by morbydvisns
Code: Select all
Event("&Command","num")
{
$wat = sysPlayerInventory(“BigBoots”)
$nucCount = sysPlayerInventory("BigBoots")
*say %player% has $wat BigBoots
*say %player% has $nucCount BigBoots
}
$wat says 0 and $nucCount says proper amount.
Edit - i retyped the first line and it started magically working properly. funky.
so i copy and pasted that one to my building script above and it went ok now. I've re-typed that part a half a dozen times yesterday and this is the first to get positive results. Especially odd considering all i did was grant and ungrant items to get the changes, consistently.
Ah well.. I'll keep an eye out for this for sure. First I've seen proper syntax not work right but uno how that goes =)
Posted: Tue Jun 19, 2012 10:59 am
by Mit
In the snippet above, i notice theres two different types of quotation marks in use.
Might be an issue if your text editor is outputting odd characters in utf-8 format (or other) rather than straight ASCII.
Posted: Tue Jun 19, 2012 12:31 pm
by morbydvisns
I'll check into that.... it's so small on my screen i couldnt see that until i zoomed in a bit. I did notice a diff. between yours in the farm example and mine a cpl weeks ago but did a copypasta test then and they both worked fine. Ah well. I'll add that to myh list of unexplainables.. Just below random *say lines out my script popping up once in a great while and America electing a Kenya born president.