Jump to content

Verunix

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Rawrland

Verunix's Achievements

Poring

Poring (1/15)

0

Reputation

  1. @Auryn: Why'd you edit your post? Anywho I posted a few fixes on your script on your other thread about arrays I think.
  2. I think he's referring to his own script earlier on a recent topic anyways I rescripted it for him. - script goldporing -1,{ OnClock0000: goto spawn_gp; //This is if you want to just whisper npc:goldporing instead of clicking an NPC //Change 99 to your desired GM level that will be able to access the NPC by whisper OnWhisperGlobal: if(getgmlevel() < 99) end; menu "Start Event",-,"Exit",exit_gp; spawn_gp: setarray .MapList$[0],"payon","prontera","izlude","geffen"; setarray .RewardList[0],969,607,739; setarray .RewardAmount[0],2,5,15; set .Map, rand(getarraysize(.MapList$)); set .randpicklist, rand(getarraysize(.RewardList)); set .randpickamount, rand(getarraysize(.RewardAmount)); announce "Un nouveau Gold Poring est apparu quelque part dans "+.Maplist$[.Map]+"!",0; monster .MapList$[.Map],0,0,"Gold Poring",2248,1,strnpcinfo(0)+"::OnGPKilled"; end; exit_gp: mes "[Gold Poring Event]"; mes "Adios, "+strcharinfo(0)+"!"; close; OnGPKilled: getitem .RewardList[.randpicklist],rand(.randpickamount); announce strcharinfo(0)+" a trouvé le Gold Poring à "+.MapList$[.Map]+".",0; end; }
  3. Glad to help. And wow that is one way of optimizing it, never thought of that haha my mindset was on making the script work. My apologies master Euphy and Arcen D:
  4. As far as I know close2 will create a close button and will proceed to the next code until it is stopped with an end. If he wants to update the variable using close then he should put it before close otherwise using close2 should do the trick.
  5. Try using close2 instead of close.
×
×
  • Create New...