PoD Help
I have a Pod .pl file and i get this error in the zone.exe :
WARNING: error compiling quest file quests/nexus/281174.pl: Perl runtime error: syntax error at (eval 28) line 11, near ""Greetings, $name. If you wish to follow the ways of discord, simple tell me you wish to be what we call [pvpon]. To follow the ways of Order and remove yor "PvP" (reverting to default questfile) I'm using # Quest Has Been Created For Bobby's World Server created by -]Bobby]- # NPC Name : # ID & Zone : Nexus # Principal Quest : Greeter # Secondary Quest : None sub EVENT_SAY { if($text=~/Hail/i) { quest::say("Greetings, $name. If you wish to follow the ways of discord, simply tell me you wish to be what we call [pvpon]. To follow the ways of Order and remove your "PvP" tag, simply chant the words, [pvpoff]."); } if($text=~/pvpon/i) { quest::say("Good Choice. Destory the shackles of order, $name!!!"); quest::pvp("on"); } if($text=~/pvpoff/i) { quest::say("While you will regret putting yourself back under Order, I cannot refuse your request."); quest::pvp("off"); } } |
Re: PoD Help
Quote:
|
Re: PoD Help
Quote:
Actually the quest is identical to the one I wrote up on another thread, dont lie :roll: Yeah, Eshmangul has it. remove the quotes and it should work fine. I quote myself: Quote:
|
lol whos lying? im just telling him what i had there
|
Instead of using Quotes, you should use the apostrophe sign (') . If you really want to use double quotes, use 2 apostrophes. Sorted! ;)
Dark - you're lying. :P Quote:
... lol? |
You should be able to put in \" in order to be able to keep the quotations. I'm pretty sure that works in perl.
|
Quote:
Now back to fixing my server... |
All times are GMT -4. The time now is 06:22 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.