script bug - IsInTown("name") doesn't work

Forum Archive - from http://theuniversal.net
Locked
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

script bug - IsInTown("name") doesn't work

Post by zaroba »

Software:Universal Client
Version Number:
________________________________________________________________________
Location

________________________________________________________________________
Description:
according to the stuff i read,
$var = IsInTown("name")
should make $var = 1 if the player is in the named town

but it doesn't

Trying it on zoric, when i'm in the town of zoric.
$Zoric=IsInTown("Zoric")
$Zoric still shows as 0

same result testing other towns
________________________________________________________________________
Steps to Replicate:
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

correct function name is 'sysIsInTown'.. I've been trying to standardise all the 'system' functions like that to avoid conflicts with script created functions.
Locked