prt_vilg,122,128,5 script Find The Mushroom 1084,{
mes "[ Find The Mushroom ]";
if(getgmlevel() < 99) {
if(.mushroomEvent==0) mes "Im moment ist kein Event!";
else {
mes "Das Find the Mushroom Event läuft gerade.";
mes "Ort: "+ .Map$;
mes "Preis: " + getitemname(.itemID);
mes "Anzahl der Mushrooms: " + .Mushrooms;
}
close;
}
mes "Hallo "+strcharinfo(0)+"! Bitte bitte nehmen sie ihre Einstellungen vor:";
Main:
next;
mes "[ Find The Mushroom ]";
switch(select("Event starten:Event beenden")) {
case 1:
mes "Das Event wird nun gestartet...";
set .mushroomEvent,1;
close2;
goto OnStart;
case 2:
mes "Das Event wird nun beendet...";
if(.mushroomEvent) announce "Find the Mushroom : Das Find the Mushroom Event wurde beendet!",bc_all,0xcc99ff;
killmonster .Map$,"All";
stopnpctimer;
set .mushroomEvent,0;
close;
}
//OnMinute01: //means the event will be active in @time result is hh:01:ss
//OnMinute31: //means the event will be active in @time result is hh:31:ss
//OnMinute01:
//OnMinute06:
//OnMinute11:
//OnMinute16:
//OnMinute21:
//OnMinute26:
OnMinute31:
//OnMinute36:
//OnMinute41:
//OnMinute46:
//OnMinute51:
//OnMinute56:
OnStart:
announce "Find the Mushroom : Es ist wieder Zeit Find the Mushroom zu Spielen und "+getitemname(.ItemID)+"s zu gewinnen!",bc_all,0xcc99ff;
sleep2 1000;
set $@ran, rand(1,22);
if ($@ran == 22) set .Map$,"lighthalzen";
if ($@ran == 21) set .Map$,"amatsu";
if ($@ran == 20) set .Map$,"rachel";
if ($@ran == 19) set .Map$,"veins";
if ($@ran == 18) set .Map$,"amatsu";
if ($@ran == 17) set .Map$,"gonryun";
if ($@ran == 16) set .Map$,"louyang";
if ($@ran == 15) set .Map$,"niflheim";
if ($@ran == 14) set .Map$,"aldebaran";
if ($@ran == 13) set .Map$,"umbala";
if ($@ran == 12) set .Map$,"jawaii";
if ($@ran == 11) set .Map$,"ayothaya";
if ($@ran == 10) set .Map$,"hugel";
if ($@ran == 9) set .Map$,"yuno";
if ($@ran == 8) set .Map$,"comodo";
if ($@ran == 7) set .Map$,"xmas";
if ($@ran == 6) set .Map$,"aldebaran";
if ($@ran == 5) set .Map$,"izlude";
if ($@ran == 4) set .Map$,"prt_vilg";
if ($@ran == 3) set .Map$,"geffen";
if ($@ran == 2) set .Map$,"morocc";
if ($@ran == 1) set .Map$,"prontera";
sleep2 1000;
set $@ran2, rand(1,11);
if ($@ran2 == 11) set .Mushrooms,"15";
if ($@ran2 == 10) set .Mushrooms,"14";
if ($@ran2 == 9) set .Mushrooms,"13";
if ($@ran2 == 8) set .Mushrooms,"12";
if ($@ran2 == 7) set .Mushrooms,"11";
if ($@ran2 == 6) set .Mushrooms,"10";
if ($@ran2 == 5) set .Mushrooms,"9";
if ($@ran2 == 4) set .Mushrooms,"8";
if ($@ran2 == 3) set .Mushrooms,"7";
if ($@ran2 == 2) set .Mushrooms,"6";
if ($@ran2 == 1) set .Mushrooms,"5";
sleep2 1000;
announce "Find the Mushroom : Ihr habt 20 Minuten um " + .Mushrooms + " Mushrooms in "+ .Map$ +" zu töten!",bc_all,0xcc99ff;
sleep2 1000;
monster .Map$,0,0,"Bitte töte mich nicht!",1084,.Mushrooms,"Find the Mushroom::OnMobKilled";
setnpctimer 0;
initnpctimer;
end;
OnTimer900000: //5 minutes before end
//OnTimer5000:
announce "Find the Mushroom : Ihr habt noch 5 Minuten um die Mushrooms in "+ .Map$ +" zu töten!",bc_all,0xcc99ff;
end;
OnTimer1200000: //Event active in 20 minutes
//OnTimer10000:
killmonster ""+.Map$+"","Find the Mushroom::OnMobKilled";
announce "Find the Mushroom : Alle verbleibenden Mushrooms in "+ .Map$ +" wurden getötet.!",bc_all,0xcc99ff;
stopnpctimer;
end;
OnMobKilled:
mapannounce .Map$,"Find the Mushroom: " + strcharinfo(0) + " hat ein Mushroom getötet. Glückwunsch! Weiter suchen!",bc_all,0xcc99ff;
set zeny,zeny+100000;
getitem .ItemID,.ItemAmt;
set .mushroomEvent,0;
end;
OnInit:
set .ItemID,7539;
set .ItemAmt,1;
// auto announcement
while(1) {
npctalk "Das Find the Mushroom Preis ist "+.ItemAmt+" x "+getitemname(.ItemID)+"";
sleep 3600000;
}
end;
}
Question
Lenya
Hi,
I have got a FindTheMushroom script.
If I kill a mushroom my console say this:

Edited by LenyaLink to comment
Share on other sites
2 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.