#include "mn_h_constants" #include "mn_i_checkrank" void main() { object oPC = GetItemActivator(); object oTarget = GetItemActivatedTarget(); // *** Pass *** object pass = CreateItemOnObject("mn_i_pcaccess", oTarget, 1); SetLocalString( pass, "tied_to", GetLocalString( oTarget, "cid" ) ); SetLocalInt( pass, "rank", MN_RANK_FRIEND ); SetLocalInt( pass, "corrupted", FALSE ); // *** Keys *** CreateItemOnObject("mn_aidbr_memkey", oTarget, 1); CreateItemOnObject("mn_aidbr_offkey", oTarget, 1); // *** Token *** object token = CreateItemOnObject("mn_aidb_token", oTarget, 1); SetLocalInt( token, "mn_rank", MN_AIDB_HIGHORGANIZER ); // *** Guild-rod *** CreateItemOnObject( "mn_aidb_rod", oTarget, 1 ); // Feedback }