prontera,150,150,3 script Farming Room 731,{ set .@n$,"^008800[Farming Room]^000000"; mes .@n$; mes "Would you like to join the Treasure Hunting Event?"; next; if(select("~ Yes:~ No") == 2){ mes .@n$; mes "Oh, okay!"; close; } mes .@n$; mes "There you go!"; close2; warp "bossnia_01",0,0; end; } //bossnia_01,0,0,0,0 monster Treasure Chest 1002,300,120000,0,0 //bossnia_01,0,0,0,0 monster Event Poring 1002,300,120000,0,0 //bossnia_01 mapflag restricted 3 - script grptbased -1,{ OnInit: monster "bossnia_01", 0,0, "Resident Monster", 1002, 500, strnpcinfo(0)+"::Onaaa"; .itemid = 969; end; Onaaa: monster "bossnia_01", 0,0, "Resident Monster", 1002, 1, strnpcinfo(0)+"::Onaaa"; if ( !getcharid(1) ) { getitem .itemid, 1; } else { .@killer = getcharid(3); getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == "bossnia_01" ) { .@count++; } } } if ( .@count < 2 ) .@itemget = 1; else if ( .@count < 3 ) .@itemget = 2; else if ( .@count < 4 ) .@itemget = 3; else if ( .@count < 5 ) .@itemget = 4; else if ( .@count < 6 ) .@itemget = 5; else if ( .@count < 7 ) .@itemget = 6; else if ( .@count < 8 ) .@itemget = 7; else if ( .@count < 9 ) .@itemget = 8; else if ( .@count < 10 ) .@itemget = 9; else if ( .@count < 11 ) .@itemget = 10; else if ( .@count < 11 ) .@itemget = 11; else if ( .@count < 11 ) .@itemget = 12; else if ( .@count < 11 ) .@itemget = 13; else if ( .@count < 11 ) .@itemget = 14; else if ( .@count < 11 ) .@itemget = 15; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( .@killer == getcharid(3) ) { getitem .itemid, .@itemget; } else if ( strcharinfo(3) == "bossnia_01" && checkidle() < 40 ) { // must not idle more than 60 seconds getitem .itemid, 1; } } } } end; } - script farmroomz -1,{ OnInit: bindatcmd "farm",strnpcinfo(3)+"::OnFarm"; end; OnFarm: warp "bossnia_01",0,0; end; }