diff options
Diffstat (limited to 'npc/custom/events')
-rw-r--r-- | npc/custom/events/cluckers.txt | 4 | ||||
-rw-r--r-- | npc/custom/events/disguise.txt | 2 | ||||
-rw-r--r-- | npc/custom/events/mushroom_event.txt | 2 | ||||
-rw-r--r-- | npc/custom/events/uneasy_cemetery.txt | 14 | ||||
-rw-r--r-- | npc/custom/events/xmas_rings_event.txt | 4 |
5 files changed, 13 insertions, 13 deletions
diff --git a/npc/custom/events/cluckers.txt b/npc/custom/events/cluckers.txt index 2388d239d..f0967590b 100644 --- a/npc/custom/events/cluckers.txt +++ b/npc/custom/events/cluckers.txt @@ -41,7 +41,7 @@ prontera,156,219,4 script Cluckers 4_NFCOCK,{ if (rand(50) < 4) { npctalk "WOOF!..........."; specialeffect2 72; - announce "[Cluck! Cluck! Boom!] " + strcharinfo(0) + " squeezed out the prize! Well done!",0; + announce "[Cluck! Cluck! Boom!] " + strcharinfo(PC_NAME) + " squeezed out the prize! Well done!",0; getitem $cluck_item_id,$cluck_item_amount; set .startcluck,0; } else { @@ -54,7 +54,7 @@ prontera,156,219,4 script Cluckers 4_NFCOCK,{ } mes "[Cluckers]"; if (getgmlevel() >= .@GMAccess) { - mes "Cluck cluck! Cluuuuuck? ^FF0000~Hi GM " + strcharinfo(0) + ", Wanna play today?~^000000"; + mes "Cluck cluck! Cluuuuuck? ^FF0000~Hi GM " + strcharinfo(PC_NAME) + ", Wanna play today?~^000000"; mes "Cluck cluck... CLUCK! ^FF0000~Just tell me what to do!~^000000"; next; while(1) switch(select("Start Event", "Check Prize", "Set Prize", "Not today Cluckers")) { diff --git a/npc/custom/events/disguise.txt b/npc/custom/events/disguise.txt index 476a21f27..cd44d1767 100644 --- a/npc/custom/events/disguise.txt +++ b/npc/custom/events/disguise.txt @@ -233,7 +233,7 @@ iCorrect: deletepset 1; activatepset 1; getitem .Prize,.PrizeAmt; - announce strcharinfo(0)+" is correct! I was disguised as: "+$MonsterName$+"",bc_map | bc_blue; + announce strcharinfo(PC_NAME)+" is correct! I was disguised as: "+$MonsterName$+"",bc_map | bc_blue; if (.RoundCount>=.Rounds) { setnpcdisplay "Disguise Event", 4_M_NFDEADMAN; set .RoundCount,0; set .Change,0; set .EventON,0; diff --git a/npc/custom/events/mushroom_event.txt b/npc/custom/events/mushroom_event.txt index 6a8cbc59d..b9c54c09e 100644 --- a/npc/custom/events/mushroom_event.txt +++ b/npc/custom/events/mushroom_event.txt @@ -51,7 +51,7 @@ OnMinute10: // Start time (every hour) OnMobKilled: set .Spawn, .Spawn - 1; getitem .Prize, .Amount; - if (.Spawn) announce "[ "+strcharinfo(0)+" ] has killed a Mushroom. There are now "+.Spawn+" Mushroom(s) left.",bc_map; + if (.Spawn) announce "[ "+strcharinfo(PC_NAME)+" ] has killed a Mushroom. There are now "+.Spawn+" Mushroom(s) left.",bc_map; else { announce "The Find the Mushroom Event has ended. All the Mushrooms have been killed.",0; set .status,0; diff --git a/npc/custom/events/uneasy_cemetery.txt b/npc/custom/events/uneasy_cemetery.txt index 72ae51fc2..a2e746f20 100644 --- a/npc/custom/events/uneasy_cemetery.txt +++ b/npc/custom/events/uneasy_cemetery.txt @@ -44,7 +44,7 @@ OnZombieDead: set $@UNEASY_MOB,$@UNEASY_MOB-1; if ($@UNEASY_MOB>0) end; set $UNEASY_DL,0; - set $UNEASY_H$,strcharinfo(0); + set $UNEASY_H$,strcharinfo(PC_NAME); if (Sex == SEX_MALE) mapannounce "prontera","[Mother Mathana]: Brave "+$UNEASY_H$+" has just killed the last undead in Prontera!",0; else @@ -70,15 +70,15 @@ prontera,257,313,5 script Mother Mathana 1_F_PRIEST,{ mes "[Mother Mathana]"; if ($UNEASY_DL <= 0) goto L_Undead_Walk; mes "I'm afraid there's something wrong with our old cemetery..."; - if ($UNEASY_H$==strcharinfo(0)) mes "But thanks to you, "+$UNEASY_H$+", we'll be able to sleep " + $UNEASY_DL + " nights!"; - if ($UNEASY_H$!=strcharinfo(0)) mes "But thanks to "+$UNEASY_H$+"'s support, we've got " + $UNEASY_DL + " easy nights!"; + if ($UNEASY_H$==strcharinfo(PC_NAME)) mes "But thanks to you, "+$UNEASY_H$+", we'll be able to sleep " + $UNEASY_DL + " nights!"; + if ($UNEASY_H$!=strcharinfo(PC_NAME)) mes "But thanks to "+$UNEASY_H$+"'s support, we've got " + $UNEASY_DL + " easy nights!"; emotion 0; close; L_Undead_Walk: if ($UNEASY_DL == 0) mes "THEY could return tomorrow's night again!"; - if ($UNEASY_DL == 0 && $UNEASY_H$==strcharinfo(0)) mes "Thank you, "+$UNEASY_H$+"! Now we'll manage to rest till the next midnight!"; - if ($UNEASY_DL == 0 && $UNEASY_H$!=strcharinfo(0)) mes "But due to "+$UNEASY_H$+"'s help we'll manage to rest till the next midnight!"; + if ($UNEASY_DL == 0 && $UNEASY_H$==strcharinfo(PC_NAME)) mes "Thank you, "+$UNEASY_H$+"! Now we'll manage to rest till the next midnight!"; + if ($UNEASY_DL == 0 && $UNEASY_H$!=strcharinfo(PC_NAME)) mes "But due to "+$UNEASY_H$+"'s help we'll manage to rest till the next midnight!"; mes "To calm down the restless cemetery, we should pour all these graves with the Holy Water. But our sisters and broters have run out of it."; mes "Could you supply us with Holy Water?"; next; @@ -91,12 +91,12 @@ L_Undead_Walk: if ($UNEASY_BL > 0) { mes "[Mother Mathana]"; - mes "Thank you, good "+strcharinfo(0)+", but we still need " + $UNEASY_BL + " more Holy Water bottles."; + mes "Thank you, good "+strcharinfo(PC_NAME)+", but we still need " + $UNEASY_BL + " more Holy Water bottles."; close; } //set quiet days!!! no more undead for this period! set $UNEASY_DL,5+((0-$UNEASY_BL)/30); - set $UNEASY_H$,strcharinfo(0); + set $UNEASY_H$,strcharinfo(PC_NAME); mes "[Mother Mathana]"; mes "Thank you, "+$UNEASY_H$+"! Now we've got enough Holy Water!"; next; diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt index d76c0a784..05e4f40f6 100644 --- a/npc/custom/events/xmas_rings_event.txt +++ b/npc/custom/events/xmas_rings_event.txt @@ -128,7 +128,7 @@ louyang,224,249,4 script Sneewy 4_F_KID3,{ } set Q_XMSRINGS,2; delitem 644,4; - getnameditem 2637,strcharinfo(0); + getnameditem 2637,strcharinfo(PC_NAME); emotion e_kis2; mes "Thank you! Here's my li'l something for you!"; next; @@ -178,7 +178,7 @@ izlu2dun,133,160,2 script Snoowy 4_F_06,{ } set Q_XMSRINGS,3; delitem 644,3; - getnameditem 2636,strcharinfo(0); + getnameditem 2636,strcharinfo(PC_NAME); emotion e_kis; mes "Thaank yoouu! Have this magic ring!"; close; |