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

TFS 1.3 Use lever spawn monster 10.98 and !magic total

MopdaAll

New Member
Joined
May 29, 2020
Messages
26
Reaction score
2
Can anyone make two scripts for me please (actionid)?

The use lever spawn monster will have 2 things, one script will spawn 1 monster with monstername xyz spawn in 1 specific coordinate, and the other script will spawn 2 monster with monstername xyz spawn in 2 specific coordinates.

I would also like a script that does !magic level it displays in orange saying "Your total magic level is x", the magic level shows the magic level total including from set items including rings, amulets, arrow slot item, helmets, etc.
 
Solution
E
try this:
(put on data/scripts folder)
Lua:
local talk = TalkAction("/magicl")

function talk.onSay(player, words, param)
    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your magic level is: " ..player:getMagicLevel())
    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your base magic level is: " ..player:getBaseMagicLevel())
    return false
end

talk:register()
try this:
(put on data/scripts folder)
Lua:
local talk = TalkAction("/magicl")

function talk.onSay(player, words, param)
    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your magic level is: " ..player:getMagicLevel())
    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your base magic level is: " ..player:getBaseMagicLevel())
    return false
end

talk:register()
 
Solution
try this:
(put on data/scripts folder)
Lua:
local talk = TalkAction("/magicl")

function talk.onSay(player, words, param)
    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your magic level is: " ..player:getMagicLevel())
    player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Your base magic level is: " ..player:getBaseMagicLevel())
    return false
end

talk:register()
thanks it works
 
Back
Top