Jump to content

cook1e

Members
  • Posts

    171
  • Joined

  • Days Won

    7

Posts posted by cook1e

  1. You mean like this?

    prontera,156,180,3    script    test    833,{
        mes "[Bathory]";
        mes "Eheeheeheehee! The spotlight is on Glast Heim this week, so I'm ferrying people there for a mere 1,000z!";
        next;
        mes "[Bathory]";
        mes "How about it? Want to take a ride on a beautiful Bathory's broom?";
        next;
        switch(select("Prepare for Takeoff!:No thanks.")) {
        case 1:
            if (BaseLevel < 85  || BaseLevel > 90) {
                mes "[Bathory]";
                mes "Come on dearie...";
                mes "You must be 85~90 to enter.";
                close;
            }
            mes "[Bathory]";
            mes "Alright, hold on tight!";
            close2;
            warp "izlu2dun",50,133;
            end;
        case 2:
            mes "["+strcharinfo(0)+"]";
            mes "No thanks, maybe later.";
            close;
        }
    }

     

    Changes

     if (BaseLevel < 85) {

    to

    if (BaseLevel < 85  || BaseLevel > 90) {

     

    • Love 1
  2. Maybe a NPC?

     

    rontera,237,81,5	script	Performer	479,3,3,{
    	end;
    	
    OnTouch:
    	if( .sbragi < gettimetick(2) ){			// triggered within area 7x7, start bragi if not on delay
    		unitskilluseid getnpcid(0),321,10;	// bragi(321) level 10
    		set .sbragi,gettimetick(2) + 180;	// delay 3 minute for npc to cast song
    	}
    	end;
    	
    OnInit:
    	setunitdata getnpcid(0),UNPC_INT,150;	// set npc INT 150
    	setunitdata getnpcid(0),UNPC_DEX,150;	// set NPC DEX 150
    	end;
    }

     

×
×
  • Create New...