• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Script which checking Quest

Xyzyk

RudziutOTS Maker
Joined
Jun 14, 2008
Messages
39
Reaction score
0
Location
Poland
I need script NPC, who checks quests and give points for that:

Information:
storage=11027, quest='Banshee Quest', storage2=31027, value=1
storage=12011, quest='Annihilator', storage2=32011, value=1
storage=14011, quest='Banuta Quest', storage2=34011, value=3
storage=13051, quest='Ancient Helmet Quest', storage2=33051, value=1
storage=16021, quest='Barbarian Quest', storage2=36021, value=3
storage=11031, quest='Dreamer Challenge Quest', storage2=31031, value=1
storage=13023, quest='Djinn Quest', storage2=33023, value=3
storage=12021, quest='Orc\'s Fire Quest', storage2=32021, value=3
storage=15036, quest='Cult Quest', storage2=35036, value=1
storage=15012, quest='Goroma Quest', storage2=35012, value=4
storage=storage of quest with for player got points(storage value 10011,+1 for each quest)
quest=name of quest
storage2=storage which checks, if quest has been rewarded with points
value=Value of quest which is done(Storage)

Information about script:
<Player>Says: 'quests'
(Player has three StorageValues - (11027,1) and (12021,3) and (15012,4), Player also doesn't have storage (31027) and (32021) and (35012))

<NPC>Says: 'You have recently done Banshee Quest, Orc\'s Fire Quest, Goroma Quest. I will reward you with 3 Points.'
Sets player storage value (10011,+3)
Sets player storage value (31027,1) and (32021,1) and (35012,1) which won't let get player points again for these quests.
 
Back
Top