• 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!

TalkAction [8.0] Adding and Removing Addons. -TFS-

EvulMastah

๏̯͡๏﴿
Premium User
Joined
Aug 19, 2007
Messages
4,941
Solutions
11
Reaction score
352
I took some help from SaLeM's send talkaction, so some credits must go to him.
So here it is:

create addaddon.lua in talkactions/scripts and paste in that:
Code:
local idgroup = 3   --Min Group Access

function onSay(cid, words, param)
  if getPlayerGroupId(cid) < idgroup then
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You can not use this command.")
  elseif param ~= "" then
    if string.find(param, ',') ~= nil then
      local sep1 = string.find(param, ',')
      local param1 = string.sub(param, 1, sep1-1)
      local param2 = string.sub(param,sep1+1,string.len(param))
      local target = getPlayerByName(param1)
      
      if target == FALSE then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "A player with that name is not online")
      elseif param1 == "" then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You must type a player.")
      elseif (param2 == "") then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You must type an addon.")
      elseif words == "/addon" then    
        player = getCreatureName(target)
        addon = string.lower(param2)
        if addon == "citizenbp" then
          doPlayerAddOutfit(target, 128, 1)
          doPlayerAddOutfit(target, 136, 1)
	  setPlayerStorageValue(target, 10001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

        elseif addon == "citizenhat" then
          doPlayerAddOutfit(target, 128, 2)
          doPlayerAddOutfit(target, 136, 2)
	  setPlayerStorageValue(target, 10002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

        elseif addon == "hunterhood" then
          doPlayerAddOutfit(target, 129, 1)
          doPlayerAddOutfit(target, 137, 2)
	  setPlayerStorageValue(target, 20002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

        elseif addon == "huntergloves" then
          doPlayerAddOutfit(target, 129, 2)
          doPlayerAddOutfit(target, 137, 1)
	  setPlayerStorageValue(target, 20001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

        elseif addon == "knightsword" then
          doPlayerAddOutfit(target, 131, 1)
          doPlayerAddOutfit(target, 139, 1)
	  setPlayerStorageValue(target, 30001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

        elseif addon == "knighthelmet" then
          doPlayerAddOutfit(target, 131, 2)
          doPlayerAddOutfit(target, 139, 2)
	  setPlayerStorageValue(target, 30002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)
       
	elseif addon == "magefirst" then
          doPlayerAddOutfit(target, 141, 1)
	  setPlayerStorageValue(target, 40001, 2)
          doPlayerAddOutfit(target, 130, 1)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)
       
	elseif addon == "magesecond" then
          doPlayerAddOutfit(target, 141, 2)
          doPlayerAddOutfit(target, 130, 2)
	  setPlayerStorageValue(target, 40002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "summonerfirst" then
          doPlayerAddOutfit(target, 138, 1)
          doPlayerAddOutfit(target, 133, 1)
	  setPlayerStorageValue(target, 50001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "summonersecond" then
          doPlayerAddOutfit(target, 138, 2)
          doPlayerAddOutfit(target, 133, 2)
	  setPlayerStorageValue(target, 50002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

        elseif addon == "barbarianhair" then
          doPlayerAddOutfit(target, 143, 2)
          doPlayerAddOutfit(target, 147, 2)
	  setPlayerStorageValue(target, 60001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)
       
	elseif addon == "barbarianaxe" then
          doPlayerAddOutfit(target, 143, 1)
          doPlayerAddOutfit(target, 147, 1)
	  setPlayerStorageValue(target, 60002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "druidpaws" then
          doPlayerAddOutfit(target, 144, 1)
          doPlayerAddOutfit(target, 148, 1)
	  setPlayerStorageValue(target, 70001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "druidhead" then
          doPlayerAddOutfit(target, 144, 2)
          doPlayerAddOutfit(target, 148, 2)
	  setPlayerStorageValue(target, 70002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "noblefirst" then
          doPlayerAddOutfit(target, 132, 1)
          doPlayerAddOutfit(target, 140, 1)
	  setPlayerStorageValue(target, 80001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "noblesecond" then
          doPlayerAddOutfit(target, 132, 2)
          doPlayerAddOutfit(target, 140, 2)
	  setPlayerStorageValue(target, 80002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "orientalsabre" then
          doPlayerAddOutfit(target, 146, 1)
          doPlayerAddOutfit(target, 150, 1)
	  setPlayerStorageValue(target, 90001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "orientalturban" then
          doPlayerAddOutfit(target, 146, 2)
          doPlayerAddOutfit(target, 150, 2)
	  setPlayerStorageValue(target, 90002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "warriorspike" then
          doPlayerAddOutfit(target, 134, 1)
          doPlayerAddOutfit(target, 142, 1)
	  setPlayerStorageValue(target, 100001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "warriorsword" then
          doPlayerAddOutfit(target, 134, 2)
          doPlayerAddOutfit(target, 142, 2)
	  setPlayerStorageValue(target, 100002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "wizardskull" then
          doPlayerAddOutfit(target, 145, 2)
          doPlayerAddOutfit(target, 149, 2)
	  setPlayerStorageValue(target, 110001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "wizardarms" then
          doPlayerAddOutfit(target, 145, 1)
          doPlayerAddOutfit(target, 149, 1)
	  setPlayerStorageValue(target, 110002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "assassinsabre" then
          doPlayerAddOutfit(target, 152, 2)
          doPlayerAddOutfit(target, 156, 2)
	  setPlayerStorageValue(target, 120001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "assassinhood" then
          doPlayerAddOutfit(target, 152, 1)
          doPlayerAddOutfit(target, 156, 1)
	  setPlayerStorageValue(target, 120002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "beggarbeard" then
          doPlayerAddOutfit(target, 153, 1)
          doPlayerAddOutfit(target, 157, 1)
	  setPlayerStorageValue(target, 130001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "beggarstaff" then
          doPlayerAddOutfit(target, 153, 2)
          doPlayerAddOutfit(target, 157, 2)
	  setPlayerStorageValue(target, 130002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "piratesabre" then
          doPlayerAddOutfit(target, 151, 1)
          doPlayerAddOutfit(target, 155, 1)
	  setPlayerStorageValue(target, 140001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "piratehat" then
          doPlayerAddOutfit(target, 151, 2)
          doPlayerAddOutfit(target, 155, 2)
	  setPlayerStorageValue(target, 140002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "shamanmask" then
          doPlayerAddOutfit(target, 154, 1)
          doPlayerAddOutfit(target, 158, 1)
	  setPlayerStorageValue(target, 150001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "shamanstaff" then
          doPlayerAddOutfit(target, 154, 2)
          doPlayerAddOutfit(target, 158, 2)
	  setPlayerStorageValue(target, 150002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "norsefirst" then
          doPlayerAddOutfit(target, 251, 1)
          doPlayerAddOutfit(target, 252, 1)
	  setPlayerStorageValue(target, 160001, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

	elseif addon == "norsesecond" then
          doPlayerAddOutfit(target, 251, 2)
          doPlayerAddOutfit(target, 252, 2)
	  setPlayerStorageValue(target, 160002, 2)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been given: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody gave you: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_GREEN)

        else
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Addon doesn't exist.")
        end
      end
    else
      doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Wrong format: /addon \"Name,Addon")
    end
  else
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You must type a player and an addon.")
  end
end

Now create remaddon.lua in same directory and paste in:
Code:
local idgroup = 3   --Min Group Access

function onSay(cid, words, param)
  if getPlayerGroupId(cid) < idgroup then
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You can not use this command.")
  elseif param ~= "" then
    if string.find(param, ',') ~= nil then
      local sep1 = string.find(param, ',')
      local param1 = string.sub(param, 1, sep1-1)
      local param2 = string.sub(param,sep1+1,string.len(param))
      local target = getPlayerByName(param1)
      
      if target == FALSE then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "A player with that name is not online")
      elseif param1 == "" then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You must type a player.")
      elseif (param2 == "") then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You must type an addon.")
      elseif words == "/remaddon" then    
        player = getCreatureName(target)
        addon = string.lower(param2)
        if addon == "citizenbp" then
          doPlayerRemOutfit(target, 128, 1)
          doPlayerRemOutfit(target, 136, 1)
	  setPlayerStorageValue(target, 10001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

        elseif addon == "citizenhat" then
          doPlayerRemOutfit(target, 128, 2)
          doPlayerRemOutfit(target, 136, 2)
	  setPlayerStorageValue(target, 10002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

        elseif addon == "hunterhood" then
          doPlayerRemOutfit(target, 129, 1)
          doPlayerRemOutfit(target, 137, 2)
	  setPlayerStorageValue(target, 20002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

        elseif addon == "huntergloves" then
          doPlayerRemOutfit(target, 129, 2)
          doPlayerRemOutfit(target, 137, 1)
	  setPlayerStorageValue(target, 20001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

        elseif addon == "knightsword" then
          doPlayerRemOutfit(target, 131, 1)
          doPlayerRemOutfit(target, 139, 1)
	  setPlayerStorageValue(target, 30001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

        elseif addon == "knighthelmet" then
          doPlayerRemOutfit(target, 131, 2)
          doPlayerRemOutfit(target, 139, 2)
	  setPlayerStorageValue(target, 30002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)
       
	elseif addon == "magefirst" then
          doPlayerRemOutfit(target, 141, 1)
          doPlayerRemOutfit(target, 130, 1)
	  setPlayerStorageValue(target, 40001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)
       
	elseif addon == "magesecond" then
          doPlayerRemOutfit(target, 141, 2)
          doPlayerRemOutfit(target, 130, 2)
	  setPlayerStorageValue(target, 40002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "summonerfirst" then
          doPlayerRemOutfit(target, 138, 1)
          doPlayerRemOutfit(target, 133, 1)
	  setPlayerStorageValue(target, 50001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "summonersecond" then
          doPlayerRemOutfit(target, 138, 2)
          doPlayerRemOutfit(target, 133, 2)
	  setPlayerStorageValue(target, 50002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

        elseif addon == "barbarianhair" then
          doPlayerRemOutfit(target, 143, 2)
          doPlayerRemOutfit(target, 147, 2)
	  setPlayerStorageValue(target, 60001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)
       
	elseif addon == "barbarianaxe" then
          doPlayerRemOutfit(target, 143, 1)
          doPlayerRemOutfit(target, 147, 1)
	  setPlayerStorageValue(target, 60002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "druidpaws" then
          doPlayerRemOutfit(target, 144, 1)
          doPlayerRemOutfit(target, 148, 1)
	  setPlayerStorageValue(target, 70001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "druidhead" then
          doPlayerRemOutfit(target, 144, 2)
          doPlayerRemOutfit(target, 148, 2)
	  setPlayerStorageValue(target, 70002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "noblefirst" then
          doPlayerRemOutfit(target, 132, 1)
          doPlayerRemOutfit(target, 140, 1)
	  setPlayerStorageValue(target, 80001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "noblesecond" then
          doPlayerRemOutfit(target, 132, 2)
          doPlayerRemOutfit(target, 140, 2)
	  setPlayerStorageValue(target, 80002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "orientalsabre" then
          doPlayerRemOutfit(target, 146, 1)
          doPlayerRemOutfit(target, 150, 1)
	  setPlayerStorageValue(target, 90001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "orientalturban" then
          doPlayerRemOutfit(target, 146, 2)
          doPlayerRemOutfit(target, 150, 2)
	  setPlayerStorageValue(target, 90002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "warriorspike" then
          doPlayerRemOutfit(target, 134, 1)
          doPlayerRemOutfit(target, 142, 1)
	  setPlayerStorageValue(target, 100001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "warriorsword" then
          doPlayerRemOutfit(target, 134, 2)
          doPlayerRemOutfit(target, 142, 2)
	  setPlayerStorageValue(target, 100002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "wizardskull" then
          doPlayerRemOutfit(target, 145, 2)
          doPlayerRemOutfit(target, 149, 2)
	  setPlayerStorageValue(target, 110001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "wizardarms" then
          doPlayerRemOutfit(target, 145, 1)
          doPlayerRemOutfit(target, 149, 1)
	  setPlayerStorageValue(target, 110002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "assassinsabre" then
          doPlayerRemOutfit(target, 152, 2)
          doPlayerRemOutfit(target, 156, 2)
	  setPlayerStorageValue(target, 120001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "assassinhood" then
          doPlayerRemOutfit(target, 152, 1)
          doPlayerRemOutfit(target, 156, 1)
	  setPlayerStorageValue(target, 120002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "beggarbeard" then
          doPlayerRemOutfit(target, 153, 1)
          doPlayerRemOutfit(target, 157, 1)
	  setPlayerStorageValue(target, 130001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "beggarstaff" then
          doPlayerRemOutfit(target, 153, 2)
          doPlayerRemOutfit(target, 157, 2)
	  setPlayerStorageValue(target, 130002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "piratesabre" then
          doPlayerRemOutfit(target, 151, 1)
          doPlayerRemOutfit(target, 155, 1)
	  setPlayerStorageValue(target, 140001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "piratehat" then
          doPlayerRemOutfit(target, 151, 2)
          doPlayerRemOutfit(target, 155, 2)
	  setPlayerStorageValue(target, 140002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "shamanmask" then
          doPlayerRemOutfit(target, 154, 1)
          doPlayerRemOutfit(target, 158, 1)
	  setPlayerStorageValue(target, 150001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "shamanstaff" then
          doPlayerRemOutfit(target, 154, 2)
          doPlayerRemOutfit(target, 158, 2)
	  setPlayerStorageValue(target, 150002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "norse1" then
          doPlayerRemOutfit(target, 251, 1)
          doPlayerRemOutfit(target, 252, 1)
	  setPlayerStorageValue(target, 160001, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

	elseif addon == "norse2" then
          doPlayerRemOutfit(target, 251, 2)
          doPlayerRemOutfit(target, 252, 2)
	  setPlayerStorageValue(target, 160002, 0)
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, player.. " has been removed: "..addon)
          doPlayerSendTextMessage(target, MESSAGE_STATUS_DEFAULT, "Somebody has removed your: "..addon)
	  doSendMagicEffect(getPlayerPosition(target), CONST_ME_MAGIC_RED)

        else
          doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Addon doesn't exist.")
        end
      end
    else
      doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Wrong format: /remaddon \"Name,Addon")
    end
  else
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "You must type a player and an addon.")
  end
end

Almost ready, just paste those two lines in talkactions.xml:
Code:
	<talkaction words="/addon" script="addaddon.lua"/>
	<talkaction words="/remaddon" script="remaddon.lua"/>

To add an addon type /addon "name,addontype(druidpaws etc), to remove somebodys addon type /remaddon "name,addontype

I used there Storage Values because of my Quests.xml, if you want it too, here is what you have to do:

Go to data/XML and open quests.xml, then switch all what you got there with this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<quests>
	<quest name="Example Quest I" startstorageid="30031" startstoragevalue="1">
		<mission name="The head of Kiper" storageid="1001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Kill Kiper!"/>
			<missionstate id="2" description="Give his head to Talaturen!"/>
			<missionstate id="3" description="Take the medal you got from Talaturen to Ruly!"/>
		</mission>
		<mission name="Ruly's Revenge" storageid="30031" startvalue="4" endvalue="6">
			<missionstate id="4" description="You received a document with instructions from Ruly, follow them."/>
			<missionstate id="5" description="Go back to Ruly and tell him that you followed his instructions to the end."/>
			<missionstate id="6" description="You got a reward from Ruly, he was very thankful with that you helped him to take his revenge."/>
		</mission>
	</quest>

	<quest name="Outfits And Addons Quest" startstorageid="66666" startstoragevalue="1">
		<mission name="First Citizen Addon" storageid="10001" startvalue="1" endvalue="3">
			<missionstate id="1" description="You need to get 100 minotaur leathers to get addon."/>
			<missionstate id="2" description="You have given 100 minotaur leathers for an addon."/>
		</mission>
		<mission name="Second Citizen Addon" storageid="10002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Joe asked you to bring him 50 honeycombs, 100 chicken feathers and legion helmet."/>
			<missionstate id="2" description="You have managed to bring to Joe all the needed items and got a beautiful hat for that."/>
		</mission>
		<mission name="First Hunter Addon" storageid="20002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your current task is to get 100 lizard leathers, 100 red dragon leather, 5 enchanted chicken wings, piece of royal steel, piece of hell steel and an engraved crossbow."/>
			<missionstate id="2" description="You have given back all neccessery items to Joe for Your mighty hood."/>
		</mission>
		<mission name="Second Hunter Addon" storageid="20001" startvalue="1" endvalue="3">
			<missionstate id="1" description="You have to loot sniper gloves, when You have them report to Joe."/>
			<missionstate id="2" description="You have provided sniper gloves to Joe."/>
		</mission>
		<mission name="First Mage Addon" storageid="40001" startvalue="1" endvalue="3">
			<missionstate id="1" description="If You are a woman bring to Joe the winning lottery ticket, if You are a man bring all kind of rods and wands, 10 magic sulphurs, 20 ankhs and a soul stone to get addon."/>
			<missionstate id="2" description="You have managed to get the addon."/>
		</mission>
		<mission name="Second Mage Addon" storageid="40002" startvalue="1" endvalue="3">
			<missionstate id="1" description="If You are a woman bring to Joe 70 bat wings, 20 red pieces of cloth, 40 ape fur, 35 holy orchid, 10 spools of silk yarn, 60 lizard scales, 40 red dragon scales, 15 magic sulphurs and 30 vampire dust, if You are a man try to get Ferumbras's Hat for an addon."/>
			<missionstate id="2" description="You have given to Joe all things for an addon."/>
		</mission>
		<mission name="First Knight Addon" storageid="30001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Joe need 1 huge chunk of crude iron and 100 iron ores to prepare an addon."/>
			<missionstate id="2" description="Joe made pretty nice sword for You."/>
		</mission>
		<mission name="Second Knight Addon" storageid="30002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your task is to bring 100 perfect behemoth fangs, damaged steel helmet, 1 bottle of warrior's sweat and piece of royal steel to get the second addon."/>
			<missionstate id="2" description="You have received helmet addon."/>
		</mission>
		<mission name="First Nobleman Addon" storageid="80001" startvalue="1" endvalue="3">
			<missionstate id="1" description="You have to pay 150000 gold pieces for the first addon."/>
			<missionstate id="2" description="You have paid 150000 gold pieces for an addon."/>
		</mission>
		<mission name="Second Nobleman Addon" storageid="80002" startvalue="1" endvalue="3">
			<missionstate id="1" description="You have to pay 150000 gold pieces for the second addon."/>
			<missionstate id="2" description="You have paid 150000 gold pieces for an addon."/>
		</mission>
		<mission name="First Oriental Addon" storageid="90001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Joe would appreciate if You can bring him mermaids comb."/>
			<missionstate id="2" description="You have given the comb to Joe."/>
		</mission>
		<mission name="Second Oriental Addon" storageid="90002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your current task is to obtain 100 ape furs, 100 fish fins, 100 blue pieces of cloth and 2 enchanted chicken wings for Joe."/>
			<missionstate id="2" description="You have traded addon-items for an addon with Joe."/>
		</mission>
		<mission name="First Wizard Addon" storageid="110001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Joe need dragon scale mail, medusa shield, ring of the sky and crown legs to prepare an addon."/>
			<missionstate id="2" description="You have provided Joe items for an skull-addon."/>
		</mission>
		<mission name="Second Wizard Addon" storageid="110002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your current task is to get 50 holy orchids. Report back to Joe when You have them."/>
			<missionstate id="2" description="You have managed to collect all orchids for Joe."/>
		</mission>
		<mission name="First Druid Addon" storageid="70001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Joe asked You to bring him 50 wolf paws and 50 bear paws, report back when You have it."/>
			<missionstate id="2" description="Joe prepared an addon from items You gave him."/>
		</mission>
		<mission name="Second Druid Addon" storageid="70002" startvalue="1" endvalue="3">
			<missionstate id="1" description="You have to bring a griffinclaw sample, water from hydra cave, 100 demon dusts, a blessed wodden stake and Ceiron's wolf tooth chain for an addon."/>
			<missionstate id="2" description="Your work has been reward with this great addon."/>
		</mission>
		<mission name="First Barbarian Addon" storageid="60001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Obtain fighting spirit, warrior's sweat, 50 red pieces of cloth, 50 green pieces of cloth and 10 spider silk yarns to get addon."/>
			<missionstate id="2" description="You have given all needed items for an addon."/>
		</mission>
		<mission name="Second Barbarian Addon" storageid="60002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your current task is to get 100 iron ores, 1 chunk of crude iron and 50 lizard leathers for an addon."/>
			<missionstate id="2" description="You have done this mission and got Your addon."/>
		</mission>
		<mission name="First Assassin Addon" storageid="120002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Joe asked You to bring him 50 blue, red, yellow, white, brown and green pieces of cloth, and 10 spider silk yarns."/>
			<missionstate id="2" description="You have given all items to Joe for an addon."/>
		</mission>
		<mission name="Second Assassin Addon" storageid="120001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your current task is to obtain nose ring and behemoth claw."/>
			<missionstate id="2" description="You have given to Joe required items."/>
		</mission>
		<mission name="First Beggar Addon" storageid="130001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Joe asked You to bring him 100 ape furs and 20000 gold pieces for an addon."/>
			<missionstate id="2" description="Joe was very happy when You gave him furs, he made a beard for You."/>
		</mission>
		<mission name="Second Beggar Addon" storageid="130002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your current task is to retreive Simon the Beggar's staff, report back when You have it."/>
			<missionstate id="2" description="You have managed to get staff, Joe gave You his old one as an addon."/>
		</mission>
		<mission name="First Shaman Addon" storageid="150001" startvalue="1" endvalue="3">
			<missionstate id="1" description="You have to obtain 5 dworc voodoo dolls and a mandrake to get an addon."/>
			<missionstate id="2" description="Mighty shaman gave You the addon for Your work."/>
		</mission>
		<mission name="Second Shaman Addon" storageid="150002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your current task is to obtain 5 banana staffs and 5 tribal masks. Report back when You have them."/>
			<missionstate id="2" description="You have given the ingredients o the wicked shaman, he rewarded You with the mask-addon."/>
		</mission>
		<mission name="First Summoner Addon" storageid="50001" startvalue="1" endvalue="3">
			<missionstate id="1" description="If You are a man bring the winning lottery ticket, if You are a woman bring all kind of rods and wands, 10 magic sulphurs, 20 ankhs and a soul stone to Joe."/>
			<missionstate id="2" description="You have given stuff to Joe and got Your addon."/>
		</mission>
		<mission name="Second Summoner Addon" storageid="50001" startvalue="1" endvalue="3">
			<missionstate id="1" description="If You are a man bring 70 bat wings, 20 red pieces of cloth, 40 ape fur, 35 holy orchid, 10 spools of silk yarn, 60 lizard scales, 40 red dragon scales, 15 magic sulphurs and 30 vampire dust, if You are a woman try to obtain Ferumbras's Hat."/>
			<missionstate id="2" description="You have received an addon for Your hard work."/>
		</mission>
		<mission name="First Pirate Addon" storageid="140001" startvalue="1" endvalue="3">
			<missionstate id="1" description="One-eyed Joe need 100 eye patches, 100 hooks and 100 peg legs for the first addon."/>
			<missionstate id="2" description="The old pirate was very thankful and rewared You with sabre-addon."/>
		</mission>
		<mission name="Second Pirate Addon" storageid="140002" startvalue="1" endvalue="3">
			<missionstate id="1" description="An old pirate asked You to kill four pirate bosses, but You need to prove that the're dead. Bring evidence to him: Lethal Lissy's shirt, Ron the Rippers sabre, Deadeye Devious' eye patch and Brutus Bloodbeards hat."/>
			<missionstate id="2" description="Old pirate rewarded You with the hat-addon for slaying all the bosses,"/>
		</mission>
		<mission name="First Warrior Addon" storageid="100001" startvalue="1" endvalue="3">
			<missionstate id="1" description="Your task is to get 100 hardened bones, 100 turtle shells, fighting spirit and dragon claw."/>
			<missionstate id="2" description="Joe was very happy when You gave him dragon claw, he gave You those spikes for it."/>
		</mission>
		<mission name="Second Warrior Addon" storageid="100002" startvalue="1" endvalue="3">
			<missionstate id="1" description="Joe asked You to bring 100 iron ores and 1 royal steel so he can make a sword for You. Report back when You have it."/>
			<missionstate id="2" description="Joe kept the word, he gave You the sword-addon."/>
		</mission>
	</quest>
	<quest name="The Annihilator" startstorageid="30015" startstoragevalue="1">
		<mission name="Reward" storageid="30015" startvalue="1" endvalue="1">
			<missionstate id="1" description="You have braved The Annihilation room and picked up Your reward."/>
		</mission>
	</quest>
	<quest name="Demon Helmet Quest" startstorageid="2493" startstoragevalue="1">
		<mission name="" storageid="" startvalue="1" endvalue="1">
			<missionstate id="1" description="You have managed to kill all guards and take Your helmet."/>
		</mission>
	</quest>
</quests>

Note:

If you want Your quest log to be working, you must somewhere put this line:
Code:
setPlayerStorageValue(cid, 66666, 1)

Maybe it will be smart to use it on firstItems tile, so everyone who will log will get that stor. value x)

Hope you like it!
 
Last edited:
Back
Top