Can any one see what I have done wrong with login script. We are trying
to go to pure IP. The IP address parts maps you to a diffrent server then
it should. Yet the IPX works fine. Any help would be great.

Thanks
Bryan


IF "%NETWORK" = "00000205" THEN SET SITE="MCHENRY"
IF "%NETWORK" = "00000049" THEN SET SITE="RICHMOND"
IF "%NETWORK" = "00000050" THEN SET SITE="HUNTLEY"
IF "%NETWORK" = "00000051" THEN SET SITE="JOHNSBURG"
IF "%NETWORK" = "00000052" THEN SET SITE="DOWNTOWN"
IF NETWORK_ADDRESS > "0A3F3001" OR NETWORK_ADDRESS < "0A3F30FF" THEN SET
SITE="MCHENRY"
IF NETWORK_ADDRESS > "0A3F3101" OR NETWORK_ADDRESS < "0A3F31FF" THEN SET
SITE="RICHMOND"
IF NETWORK_ADDRESS > "0A3F3201" OR NETWORK_ADDRESS < "0A3F32FF" THEN SET
SITE="HUNTLEY"
IF NETWORK_ADDRESS > "0A3F3301" OR NETWORK_ADDRESS < "0A3F33FF" THEN SET
SITE="JOHNSBURG"
IF NETWORK_ADDRESS > "0A3F3B01" OR NETWORK_ADDRESS < "0A3F3BFF" THEN SET
SITE="DOWNTOWN"
write "Good %GREETING_TIME, %LOGIN_NAME.MCHENRY SCRIPT %PLATFORM"
MAP DISPLAY OFF
MAP ERRORS OFF
MAP F:=%<SITE>/SYS:
REM MAP H:=MCHENRY_MACRO.MAIN.MCHENRY.:
IF "%NETWORK" = "00000049" THEN MAP G:=MCHENRY_SYS.MAIN.MCHENRY.:
IF "%NETWORK" = "00000050" THEN MAP G:=MCHENRY_SYS.MAIN.MCHENRY.:
IF "%NETWORK" = "00000051" THEN MAP G:=MCHENRY_SYS.MAIN.MCHENRY.:
IF "%NETWORK" = "00000052" THEN MAP G:=MCHENRY_SYS.MAIN.MCHENRY.:
IF NETWORK_ADDRESS > "0A3F3101" OR NETWORK_ADDRESS < "0A3F31FF" THEN MAP
G:=MCHENRY_SYS.MAIN.MCHENRY.:
IF NETWORK_ADDRESS > "0A3F3201" OR NETWORK_ADDRESS < "0A3F32FF" THEN MAP
G:=MCHENRY_SYS.MAIN.MCHENRY.:
IF NETWORK_ADDRESS > "0A3F3301" OR NETWORK_ADDRESS < "0A3F33FF" THEN MAP
G:=MCHENRY_SYS.MAIN.MCHENRY.:
IF NETWORK_ADDRESS > "0A3F3B01" OR NETWORK_ADDRESS < "0A3F3BFF" THEN MAP
G:=MCHENRY_SYS.MAIN.MCHENRY.:
SET N1="%NETWORK_ADDRESS"
SET N2="%NETWORK"
MAP INS S1:=%<SITE>/SYS:USER%LOGIN_NAME
MAP INS S2:=%<SITE>/SYS:PUBLIC
MAP INS S3:=%<SITE>/SYS:LOGIN
rem MAP INS S4:=%<SITE>/SYS:INFOCON4
rem MAP INS S5:=%<SITE>/SYS:ICOMGWV
MAP INS S4:=%<SITE>/SYS:MA
rem MAP INS S7:=%<SITE>/SYS:FICHE
MAP INS S5:=%<SITE>/SYS:REMOTE
rem MAP INS S9:=%<SITE>/SYS:PKZIP
SET PROMPT="$P$G"
SET LOGIN_NAME="%LOGIN_NAME"
SET LOGNAME="%LOGIN_NAME"
SET STATION="%STATION"
SET DN_STATION="%STATION"
SET DOS="%OS_VERSION"
SET MSTATION="%STATION"
SET P_STATION="%P_STATION"
map display on
map