Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
DaraisDarkwave
Beginner


Joined: 09 Nov 2007
Posts: 28
Location: Fairbanks, Alaska

PostPosted: Wed Dec 05, 2007 7:42 pm   

Summoning Variable?
 
Code:
#VAR weapon {sultan} {sultan} "Summoning"
#VAR weapons2 {rok-man|hero|black-pudding|purple-worm|cave-thing|caecilia|salamander|efreet|hera|zeus|apollo|ares|athena-goddess|gypsy-wizard|gypsy-paladin|gypsy-warlord|gypsy-assassin|gypsy-abdul|gypsy-bartender|lord-python|ajax|poseidon|patroclus|alecto|hippolyta|agamemnon|odysseus|dionysus|black-slayer|mulichort|guillotine|master-xorn|proserpina|donjonkeeper|queeklor|master-torturer|athena|skekie-mantern|skexie-bard|skexie-ancient|skexie-lair-guard|skexie-magister|raistlin|centaur-master|mrs-day|ixitxachitl|black-enfan|gelfling-weaponsmaster|cloud-butcher|iktham-cloud-giant|aeolus|cleric-guildguard|anubis|nobleman|cerebus|10.harpy-xanth|9.harpy-xanth|8.harpy-xanth|7.harpy-xanth|6.harpy-xanth|5.harpy-xanth|4.harpy-xanth|3.harpy-xanth|2.harpy-xanth|harpy-xanth|mundane|lord-menelaus|hector|Arishh|Arachnos|Illyari|Iktham|Princess-Po|tree-ancient|caramon|curley|abdul|swamp-crawler|shark|13.shark|viking-slave|viking-merchant|viking-fisherman|viking-guard|druid-lib|druid-guard|guildguard|elf-arm|elf-shop|elf-bard|elf-wine|elf-arch|sal|cimmura-knight|skele-knight|tin-goose|tin-parot|tin-monkey|noble} {_nodef} "Summoning"
#VAR weapon {death-knight} {death-knight} "Quick"
#VAR weapons {rok-man|hero|black-pudding|purple-worm|cave-thing|caecilia|salamander|efreet|hera|zeus|apollo|ares|athena-goddess|gypsy-wizard|gypsy-paladin|gypsy-warlord|gypsy-assassin|gypsy-abdul|gypsy-bartender|lord-python|ajax|poseidon|patroclus|alecto|hippolyta|agamemnon|odysseus|dionysus|black-slayer|mulichort|guillotine|master-xorn|proserpina|donjonkeeper|queeklor|master-torturer|athena|skekie-mantern|skexie-bard|skexie-ancient|skexie-lair-guard|skexie-magister|raistlin|centaur-master|mrs-day|ixitxachitl|black-enfan|gelfling-weaponsmaster|cloud-butcher|iktham-cloud-giant|aeolus|cleric-guildguard|anubis|nobleman|cerebus|10.harpy-xanth|9.harpy-xanth|8.harpy-xanth|7.harpy-xanth|6.harpy-xanth|5.harpy-xanth|4.harpy-xanth|3.harpy-xanth|2.harpy-xanth|harpy-xanth|mundane|lord-menelaus|hector|Arishh|Arachnos|Illyari|Iktham|Princess-Po|tree-ancient|caramon|curley|abdul|swamp-crawler|shark|13.shark|viking-slave|viking-merchant|viking-fisherman|viking-guard|druid-lib|druid-guard|guildguard|elf-arm|elf-shop|elf-bard|elf-wine|elf-arch|sal|cimmura-knight|skele-knight|tin-goose|tin-parot|tin-monkey|noble} {_nodef} "Quick"
#VAR weapon {sultan} {sultan}
#VAR weapons {rok-man|hero|black-pudding|purple-worm|cave-thing|caecilia|salamander|efreet|hera|zeus|apollo|ares|athena-goddess|gypsy-wizard|gypsy-paladin|gypsy-warlord|gypsy-assassin|gypsy-abdul|gypsy-bartender|lord-python|ajax|poseidon|patroclus|alecto|hippolyta|agamemnon|odysseus|dionysus|black-slayer|mulichort|guillotine|master-xorn|proserpina|donjonkeeper|queeklor|master-torturer|athena|skekie-mantern|skexie-bard|skexie-ancient|skexie-lair-guard|skexie-magister|raistlin|centaur-master|mrs-day|ixitxachitl|black-enfan|gelfling-weaponsmaster|cloud-butcher|iktham-cloud-giant|aeolus|cleric-guildguard|anubis|nobleman|cerebus|10.harpy-xanth|9.harpy-xanth|8.harpy-xanth|7.harpy-xanth|6.harpy-xanth|5.harpy-xanth|4.harpy-xanth|3.harpy-xanth|2.harpy-xanth|harpy-xanth|mundane|lord-menelaus|hector|Arishh|Arachnos|Illyari|Iktham|Princess-Po|tree-ancient|caramon|curley|abdul|swamp-crawler|shark|13.shark|viking-slave|viking-merchant|viking-fisherman|viking-guard|druid-lib|druid-guard|guildguard|elf-arm|elf-shop|elf-bard|elf-wine|elf-arch|sal|cimmura-knight|skele-knight|tin-goose|tin-parot|tin-monkey|noble} {_nodef} "Summoning"
#VAR weapons easy {rok-man|hero|black-pudding|purple-worm|cave-thing|caecilia|salamander|efreet|hera|zeus|apollo|ares|athena-goddess|gypsy-wizard|gypsy-paladin|gypsy-warlord|gypsy-assassin|gypsy-abdul|gypsy-bartender|lord-python|ajax|poseidon|patroclus|alecto|hippolyta|agamemnon|odysseus|dionysus|black-slayer|mulichort|guillotine|master-xorn|proserpina|donjonkeeper|queeklor|master-torturer|athena|skekie-mantern|skexie-bard|skexie-ancient|skexie-lair-guard|skexie-magister|raistlin|centaur-master|mrs-day|ixitxachitl|black-enfan|gelfling-weaponsmaster|cloud-butcher|iktham-cloud-giant|aeolus|cleric-guildguard|anubis|nobleman|cerebus|10.harpy-xanth|9.harpy-xanth|8.harpy-xanth|7.harpy-xanth|6.harpy-xanth|5.harpy-xanth|4.harpy-xanth|3.harpy-xanth|2.harpy-xanth|harpy-xanth|mundane|lord-menelaus|hector|Arishh|Arachnos|Illyari|Iktham|Princess-Po|tree-ancient|caramon|curley|abdul|swamp-crawler|shark|13.shark|viking-slave|viking-merchant|viking-fisherman|viking-guard|druid-lib|druid-guard|guildguard|elf-arm|elf-shop|elf-bard|elf-wine|elf-arch|sal|cimmura-knight|skele-knight|tin-goose|tin-parot|tin-monkey|noble} {_nodef} "Summoning"


Does something look wrong with this to anyone else?
Reply with quote
DaraisDarkwave
Beginner


Joined: 09 Nov 2007
Posts: 28
Location: Fairbanks, Alaska

PostPosted: Wed Dec 05, 2007 7:47 pm   
 
forgot to mention this is for a summoning script i set up, it will kill one variable and move on to the next....
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Dec 05, 2007 9:40 pm   
 
Yes something does. "#VAR [b]weapons easy[b]" a spaces is not a valid character in a variable name.

monkey|noble} {_nodef} "Quick"
[b]#VAR weapon {sultan} {sultan}[b]
#VAR weapons {rok-man|hero|black-pudding|purple-worm|cave-
Duplicates previous definition.

All the definitions for "weapons", "weapons2", and you bad "weapons easy" appear the same use a single variable for them unless you really think you are going to make them different in the future.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
DaraisDarkwave
Beginner


Joined: 09 Nov 2007
Posts: 28
Location: Fairbanks, Alaska

PostPosted: Fri Dec 07, 2007 2:50 am   
 
Thank you, i think i know how to fix this now...
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net