Jump to content
  • 0

One Click All in One Mount NPC


Question

11 answers to this question

Recommended Posts

Posted (edited)

This is a great idea, actually... if you don't mind, I'm stealing it for my own scripts. ;3

<header> {
if (ismounting()) { message strcharinfo(0),"You must first remove your mount."; close; }
else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) {
if (!checkfalcon() && getskilllv(127) && !checkwug()) {
if(select(" ~ Falcon: ~ Warg")==1) setfalcon;
else getitem 6124,1; }
else getitem 6124,1; }
else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart()) {
if (!checkmadogear() && getskilllv(2255)) {
if(select(" ~ Cart: ~ Mado")==1) setcart;
else setmadogear; }
else setcart; }
else if (!checkcart() && getskilllv(39)) setcart;
else if (!checkfalcon() && getskilllv(127) && !checkwug()) setfalcon;
else if (!checkriding() && getskilllv(63)) {
if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon;
else setriding; }
else if (!checkmadogear() && getskilllv(2255)) setmadogear;
else { message strcharinfo(0),"You do not meet requirements to rent."; close; }
close;
}

Edited by Euphy
Added warg check.
Posted

ismounting() was added in r15009, which means you're waaay behind in updates~ (remove the line if you don't want to update, but... the other commands probably won't work either, then)

Posted (edited)

alright i guess i have to update >.<

ismounting() was added in r15009, which means you're waaay behind in updates~ (remove the line if you don't want to update, but... the other commands probably won't work either, then)

@Euphy

any other solution other that updating?

Edited by frotek
Posted (edited)

Thanks ! But hey, i found some uncomfortable thing with that script. If you're in Ranger class, you can use Warg and Falcon as well ! How can i make Ranger class only can pickup 1 Pet instead of getting 2 of them? Say, if you already have Warg, you cannot pick Falcon. Thanks ! /ok

Edited by Rabbit
Posted

@Rabbit: Done, thanks! Post above is edited. (I couldn't find a "checkwarg" command when I looked for it, but apparently it's "checkwug", lol...)

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...