[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  mprog help

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: mprog help
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Valnor   (1 post)  [Biography] bio
Date Sun 20 May 2012 06:10 PM (UTC)  quote  ]
Message
If you want them to have to have it on a "wear" slot, then yeah:

if ovnumwear(491)

But that won't check in containers (i.e. if you put the fairy in a bottle and hold the bottle in your hand).

You can also do:

if ovnuminv(491)

This will check their inventory if you don't plan on the character actually "wearing" the fairy.
[Go to top] top

Posted by Walldo   (1 post)  [Biography] bio
Date Thu 17 May 2012 09:03 PM (UTC)  quote  ]
Message
I believe the proper syntax is ovnumwear

IE

if ovnumwear(491)

I am not sure if stock SMAUG comes with a list of ifchecks or not.
[Go to top] top

Posted by Primus   (1 post)  [Biography] bio
Date Thu 17 May 2012 01:42 PM (UTC)  quote  ]
Message
i've been building an area, unfortunately the one thing i suffer with is progs.

The Problem:- Log: [*****] BUG: Unknown ifcheck, Mob #599.

The Code:-

mpedit $n add greet 100
if ispc($n)
mea $n Greetings $n*!
if Wearingvnum(491)
say Ahh i see you have found the chosen one navi, $n time is short, will you hear my story?.
else
say Sorry, but you are not the choosen one i requested, come back later.
endif




The Idea:-
I need the mobile in this case, the great deku tree (for those who have played ocarina of time, will understand this)

Basically you must have Navi the fairy (Onum:491)
to be able to talk to the tree and accept his mission, but if you do not have navi, he politely tells you to go away.

if anyone can help.. thanks in advance
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


532 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]