|
|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
| Quests::Q&A This is the quest support section |

12-22-2006, 07:01 AM
|
|
I built it I will Support it!
|
|
Join Date: Jun 2005
Location: Michigan
Posts: 214
|
|
You want to do it like this:
Code:
if (($text=~/hail/i)&&(${$name}==2)){
At least in regular perl that will work.
This is what I used to test it:
Code:
$var1 = "var2";
$var2 = "Testing";
print "$var1 \n";
print "${$var1} \n";
print "$var2 \n";
|
 |
|
 |

12-22-2006, 08:43 AM
|
|
AX Classic Developer
|
|
Join Date: May 2006
Location: filler
Posts: 2,049
|
|
Got it Sesmar, thanks - ran perfect.
here's what I fixed;
Well, I have to Link it because the post won't take such a large pl;
http://www.nahunta.org/~angelox/files/Vahlara.pl
Vahlara now will only give you one charm, you don't get the dupe message and the "here's the charm" text goes away. Also, when you zone out, since you can't come back anymore, the exit tutorial guy deletes the global.
If you decide to try it out, the "emoter npc's" in the script are not in the current posted database. This should fix them up;
Code:
INSERT INTO npc_types VALUES (189119,"_","",60,127,1,11,23400,0,10,0,1,1,1,0,0,0,0,100,480,"",0,61,0,0,0,0,0,1,0,0,0,0,0,1.25,245,245,245,245,245,0,1,1,1,1052,0,0,-25,0,299,299,299,299,299,299,299);
INSERT INTO npc_types VALUES (189120,"_","",60,127,1,11,23400,0,10,0,1,1,1,0,0,0,0,100,480,"",0,61,0,0,0,0,0,1,0,0,0,0,0,1.25,245,245,245,245,245,0,1,1,1,1052,0,0,-25,0,299,299,299,299,299,299,299);
also the globals for amote and bmote have to be initialized else you get swamped in emoter npcs;;
Code:
INSERT INTO quest_globals VALUES (153,0,0,189,"amote","2",0) ON DUPLICATE KEY UPDATE value=2;
INSERT INTO quest_globals VALUES (154,0,0,189,"bmote","2",0) ON DUPLICATE KEY UPDATE value=2;
Anyways I'm almost ready to put out another DB update - I got a lot more work done on Gunthak too.
|
 |
|
 |

12-22-2006, 10:12 AM
|
|
I built it I will Support it!
|
|
Join Date: Jun 2005
Location: Michigan
Posts: 214
|
|
Glad to hear that worked for you.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:50 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |