<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4344" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: Mprog</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4344</link>
  <description>The largest Smaug community resource site. - Minor problem with mprogs</description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Mprog</title>
   <link>https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20252#p20252</link>
   <description>Glad you got it working. I personally probably would have gone a route like: [code] if name($n) == Aster say Greetings Aster, Creator of the Omniverse. else if isimmort($n) say Greetings Immortal ruler of the land. else if ispc($n) if sex($n) == 0 say Greetings, Creation of Legaeldan. mpsleep 4 say Do you wish to converse with the almighty creator of the realm? else if sex($n) == 1 Say Greetings, Son of Aster. mpsleep 4 say</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20252#p20252</guid>
   <pubDate>Wed, 24 Feb 2010 05:35:45 CST</pubDate>
   <category>LoP Codebase</category>
   <author>nobody@example.com (InfiniteAxis)</author>
  </item>
  <item>
   <title>Mprog</title>
   <link>https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20251#p20251</link>
   <description>Thanks for all the help you guys. I had a play with things, and changed the way the program asked the if checks. Finally works the way I need it to. Here&#039;s what I went with: [code]if name($n) == Aster say Greetings Aster, Creator of the Omniverse. else if isimmort($n) say Greetings Immortal ruler of the land. else if sex($n) == 0 say Greetings, Creation of Legaeldan. mpsleep 4 say Do you wish to converse with the almighty creator of the realm? else if sex($n) == 1 Say Greeting</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20251#p20251</guid>
   <pubDate>Wed, 24 Feb 2010 03:46:00 CST</pubDate>
   <category>LoP Codebase</category>
   <author>nobody@example.com (Legaeldan)</author>
  </item>
  <item>
   <title>Mprog</title>
   <link>https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20242#p20242</link>
   <description>Just use breaks. [quote]if isnpc($n) say Greeting creature of the realm. break endif if isimmort($n) ...[/quote] etc</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20242#p20242</guid>
   <pubDate>Tue, 23 Feb 2010 15:29:05 CST</pubDate>
   <category>LoP Codebase</category>
   <author>nobody@example.com (Zeno)</author>
  </item>
  <item>
   <title>Mprog</title>
   <link>https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20241#p20241</link>
   <description>It works, essentially. It&#039;s just giving me that bug error once it&#039;s said the sentence about conversing. The way it works is, it responds to immortals with a normal greeting without the question. Then if the player is not an immortal, it greets them depending on sex, followed by the question about conversing. So if a girl walks in, it greets a daughter or silvanyis, a boy, it greets a son of aster, and a nuetral, a creation of legaeldan. It works fine on immortals. But when it gets to t</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20241#p20241</guid>
   <pubDate>Tue, 23 Feb 2010 15:24:20 CST</pubDate>
   <category>LoP Codebase</category>
   <author>nobody@example.com (Legaeldan)</author>
  </item>
  <item>
   <title>Mprog</title>
   <link>https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20240#p20240</link>
   <description>When I read that prog, I&#039;m not sure what to make of it. Is it only supposed to trigger on Immortals? and then mortals all get called creatures of the realm? Or is there maybe an endif out of place?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20240#p20240</guid>
   <pubDate>Tue, 23 Feb 2010 13:35:19 CST</pubDate>
   <category>LoP Codebase</category>
   <author>nobody@example.com (InfiniteAxis)</author>
  </item>
  <item>
   <title>Mprog</title>
   <link>https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20239#p20239</link>
   <description>[quote] 3&amp;gt;all_greet_prog 100 if ispc($n) if isimmort($n) if name($n) == Aster Say Greetings Aster, Creator of the Omniverse else say Greetings Immortal. How fare thee on this fine day? endif else if sex($n) == 0 say Greetings, Creation of Legaeldan. mpsleep 4 say Do you wish to converse with the almighty creator of the realm? else if sex($n) == 1 Say Greetings Son of Aster. mpsleep 4 say Do you wish to converse with the almighty creator of the realm? else if sex($n) == 2 say</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20239#p20239</guid>
   <pubDate>Tue, 23 Feb 2010 11:13:42 CST</pubDate>
   <category>LoP Codebase</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Mprog</title>
   <link>https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20238#p20238</link>
   <description>Well, maybe it&#039;s just me, but I have this small mob prog that is just driving me a little nutty. As far as I can see, it all works fine. But I&#039;m still getting a bug error. [quote]Bug: [*****] BUG: Mob #701: Found else in an else section.[/quote] The program still works, but this bug report is just driving me a little nuts. Here&#039;s the code for the prog. [code]3&amp;gt;all_greet_prog 100 if ispc($n) if isimmort($n) if name($n) == Aster Say Greetings Aster, Creator of the Omniverse else say</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/mprog-4344/&amp;p=20238#p20238</guid>
   <pubDate>Tue, 23 Feb 2010 06:50:16 CST</pubDate>
   <category>LoP Codebase</category>
   <author>nobody@example.com (Legaeldan)</author>
  </item>
 </channel>
</rss>
