Jump to content


  • Content Count

  • Joined

  • Last visited

  1. han

    Modified IP Freebies

    @@Litro I did test it,and I got this error and when i did place "//" mes [email protected][[email protected]+1] + " x +"[email protected][[email protected]+2]" + getitemname([email protected][[email protected]]); 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 [email protected], 0; [email protected] < getarraysize([email protected]); set [email protected], [email protected] + 3 ) 22: mes [email protected][[email protected]+1] + " x +"[email protected][[email protected]+2]" + getitemname([email protected][[email protected]]);* 23: close2; ^ 24: set #NewbieGift, 1; 25: setd "$" + [email protected]$ + "_NG", getd("$" + [email protected]$ + "_NG") + 1; 26: mes [email protected][[email protected]+1] + " x +"[email protected][[email protected]+2]" + getitemname([email protected][[email protected]]); to mes [email protected][[email protected]+1] + " x +"[email protected][[email protected]+2]+" "+ getitemname([email protected][[email protected]]); you forgot the + sign near "
  2. i guess that his invek map does exist, but like what dastgir said, the problem is the .town he ddn't change the value of it, it will work if he follows what dastgir recommended to do. using this script might help u in future when u decided to add extra/more maps less hassle. //=========== Town Invasion ==========//=========== Version: 1.0 ===========- script towninvasion -1,{OnClock0800:OnClock1400:OnClock2000:OnClock0200: .rand$ = .maps$[rand(getarraysize(.maps$))]; announce "A Boss is destroying our "+.rand$+" city! Help us!",bc_all,0x00FFFF; sleep2 2000; announce "Hurry before it dominate the whole "+.rand$+"!",bc_all,0x00FFFF; sleep2 5000; announce "This monster is quite elusive! So please beat it up!",bc_all,0x00FFFF; monster .rand$,0,0,"Bring it on!",1502,1,"towninvasion::OnInvadeKill"; end;OnInvadeKill: announce "Good job, for keeping our city safe!!",bc_all,0x00FFFF; getitem 7227,10; end;OnInit: setarray .maps$[0],"invek"; // Maps end;}
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.