Hello I would like a little help to configure this script:
Spoiler
//===== Immortals-RO Script ==================================
//= Map Description Announcer
//===== By: ==================================================
//= Meroy of Immortals-RO (http://immortalsro.com)
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Similar to "/where"
//===== Changelogs: ==========================================
//= 1.0 First Version
//===== Additional Comments: =================================
//= 1.0 Initial Release - [Meroy]
//============================================================
- script Map_Des_Announcer -1,{
OnInit:
setarray .townMaps$,
//<mapname>,<Map Nick>,
"alberta", "Alberta",
"aldebaran", "Aldebaran",
"amatsu", "Amatsu, the Land of Destiny",
"ayothaya", "Ayothaya",
"bat_room", "the Battlegrounds Lobby",
"brasilis", "Brasilis",
"comodo", "Comodo, the Beach Town",
"dicastes01", "El Dicastes, the Sapha Capital",
"dicastes02", "Brumbeld Jorhi Forest",
"einbech", "Einbech, the Mining Village",
"einbroch", "Einbroch, the City of Steel",
"geffen", "Geffen, The City of Magic",
"gonryun", "Gonryun, the Hermit Land",
"hugel", "Hugel, the Power Source City",
"izlude", "Izlude Town, Satellite of Prontera",
"jawaii", "Jawaii, the Honeymoon Island",
"lighthalzen", "Lighthalzen, the City-State of Prosperity",
"louyang", "Louyang, the Highland",
"xmas", "Lutie, the Snow Village",
"manuk", "Manuk",
"mid_camp", "Midgard Expedition Camp",
"morocc", "the Morroc Accident Site",
"moscovia", "Moscovia",
"nameless_i", "Nameless Island",
"niflheim", "Niflheim, Realm of the Dead",
"payon", "Payon Town",
"prontera", "Prontera City, Capital of Rune-Midgard",
"rachel", "Rachel, Capital of Arunafelz, the Study Nation",
"splendide", "Splendide",
"prt_monk", "the St. Capitolina Abbey",
"thor_camp", "Thor Camp",
"veins", "Veins, the Desert Village",
"yuno", "Yuno, Capital of Schwarzwald Republic",
"umbala", "The Wootan Tribe's Village, Umbala";
.size = getarraysize( .townMaps$ );
for( .@i = 0; .@i < .size; .@i += 2 )
setmapflag .townMaps$[.@i], mf_loadevent;
end;
Question
RagnaField
Hello I would like a little help to configure this script:
//===== Immortals-RO Script ==================================
//= Map Description Announcer
//===== By: ==================================================
//= Meroy of Immortals-RO (http://immortalsro.com)
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Similar to "/where"
//===== Changelogs: ==========================================
//= 1.0 First Version
//===== Additional Comments: =================================
//= 1.0 Initial Release - [Meroy]
//============================================================
- script Map_Des_Announcer -1,{
OnInit:
setarray .townMaps$,
//<mapname>,<Map Nick>,
"alberta", "Alberta",
"aldebaran", "Aldebaran",
"amatsu", "Amatsu, the Land of Destiny",
"ayothaya", "Ayothaya",
"bat_room", "the Battlegrounds Lobby",
"brasilis", "Brasilis",
"comodo", "Comodo, the Beach Town",
"dicastes01", "El Dicastes, the Sapha Capital",
"dicastes02", "Brumbeld Jorhi Forest",
"einbech", "Einbech, the Mining Village",
"einbroch", "Einbroch, the City of Steel",
"geffen", "Geffen, The City of Magic",
"gonryun", "Gonryun, the Hermit Land",
"hugel", "Hugel, the Power Source City",
"izlude", "Izlude Town, Satellite of Prontera",
"jawaii", "Jawaii, the Honeymoon Island",
"lighthalzen", "Lighthalzen, the City-State of Prosperity",
"louyang", "Louyang, the Highland",
"xmas", "Lutie, the Snow Village",
"manuk", "Manuk",
"mid_camp", "Midgard Expedition Camp",
"morocc", "the Morroc Accident Site",
"moscovia", "Moscovia",
"nameless_i", "Nameless Island",
"niflheim", "Niflheim, Realm of the Dead",
"payon", "Payon Town",
"prontera", "Prontera City, Capital of Rune-Midgard",
"rachel", "Rachel, Capital of Arunafelz, the Study Nation",
"splendide", "Splendide",
"prt_monk", "the St. Capitolina Abbey",
"thor_camp", "Thor Camp",
"veins", "Veins, the Desert Village",
"yuno", "Yuno, Capital of Schwarzwald Republic",
"umbala", "The Wootan Tribe's Village, Umbala";
.size = getarraysize( .townMaps$ );
for( .@i = 0; .@i < .size; .@i += 2 )
setmapflag .townMaps$[.@i], mf_loadevent;
end;
OnPCLoadMapEvent:
if( strcharinfo(3) == @last_map$ )
end;
for( .@i = 0; .@i < .size; .@i += 2 )
if( strcharinfo(3) == .townMaps$[.@i] )
{
announce "Welcome to "+ .townMaps$[.@i+1] +"",bc_self, 0x00FFFF,FW_NORMAL,16;
soundeffect "priest_gloria.wav",0;
@last_map$ = strcharinfo(3);
}
}
end;
}
prontera mapflag loadevent
morocc mapflag loadevent
geffen mapflag loadevent
payon mapflag loadevent
alberta mapflag loadevent
izlude mapflag loadevent
aldebaran mapflag loadevent
xmas mapflag loadevent
comodo mapflag loadevent
yuno mapflag loadevent
amatsu mapflag loadevent
gonryun mapflag loadevent
umbala mapflag loadevent
niflheim mapflag loadevent
louyang mapflag loadevent
jawaii mapflag loadevent
ayothaya mapflag loadevent
einbroch mapflag loadevent
lighthalzen mapflag loadevent
hugel mapflag loadevent
rachel mapflag loadevent
veins mapflag loadevent
moscovia mapflag loadevent
manuk mapflag loadevent
splendide mapflag loadevent
brasilis mapflag loadevent
dicastes01 mapflag loadevent
mora mapflag loadevent
dewata mapflag loadevent
malangdo mapflag loadevent
this happens every time I use the command: @go 0 / @go 1

Edited by juniorbocask8Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.