Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ alright heh
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Sun 18 Sep 2005 07:00 PM (UTC) |
Message
| now i have another question heh. there are 2 invasion commands one for mobs and objects at http://www.afkmud.com/downloads.php?cat=aurora. Well i was wondering how I might make it into one command, like invasion object or mob, then the rest of the arguements maybe? |
Everything turns around in the end | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Sun 18 Sep 2005 07:20 PM (UTC) |
Message
| Just combine the two functions, and add a new argument to the function to match either like "object" or "mobs". |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #2 on Sun 18 Sep 2005 07:23 PM (UTC) |
Message
| thats the problem I'm not sure how to do that? |
Everything turns around in the end | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #3 on Mon 19 Sep 2005 01:19 AM (UTC) |
Message
| hrm would a switch case thing work for that? |
Everything turns around in the end | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #4 on Mon 19 Sep 2005 01:49 AM (UTC) |
Message
| I think it's just be easier for an ifcheck.
if ( !str_cmp( arg1, "mobs" ) )
|
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #5 on Mon 19 Sep 2005 01:50 AM (UTC) Amended on Mon 19 Sep 2005 02:05 AM (UTC) by Metsuro
|
Message
| now this is going to sound really dumb I cant quiet figure out where to put it, and what else needs to go with it... hehe =P I like lost my mind or something its weird. If someone could just tell me the files I'd have to make changes in I could figure it out from there I think |
Everything turns around in the end | 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.
15,589 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top