alright heh

Posted by Metsuro on Sun 18 Sep 2005 07:00 PM — 6 posts, 19,085 views.

USA #0
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?
USA #1
Just combine the two functions, and add a new argument to the function to match either like "object" or "mobs".
USA #2
thats the problem I'm not sure how to do that?
USA #3
hrm would a switch case thing work for that?
USA #4
I think it's just be easier for an ifcheck.
if ( !str_cmp( arg1, "mobs" ) )
USA #5
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