okie2. thanks! i'll try it later then!
[font="'lucida sans unicode', 'lucida grande', sans-serif;"]yes, you should try it offline before put it in your online server[/font]
@Litro I did test it,and I got this error
and when i did place "//" mes .@rwd[.@i+1] + " x +"+.@rwd[.@i+2]" + getitemname(.@rwd[.@i]);nothing happen after talking to npc, no items given
[Error]: script error in file 'npc/custom/fatero/npc/ipfreebies.txt' line 23 column 0 Unexpected newline at string. 20: 21: for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 3 ) 22: mes .@rwd[.@i+1] + " x +"+.@rwd[.@i+2]" + getitemname(.@rwd[.@i]);* 23: close2; ^ 24: set #NewbieGift, 1; 25: setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1; 26:
mes .@rwd[.@i+1] + " x +"+.@rwd[.@i+2]" + getitemname(.@rwd[.@i]);
to
mes .@rwd[.@i+1] + " x +"+.@rwd[.@i+2]+" "+ getitemname(.@rwd[.@i]);
you forgot the + sign near "