• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.
Resource icon

!change vocation for gm

endziu2222

Premium User
Premium User
Joined
Nov 2, 2010
Messages
218
Solutions
1
Reaction score
62
endziu2222 submitted a new resource:

!change vocation for gm - Script for talkaction to change you vocation

I am using this for testing maybe more people want to use this.

LUA:
local changeVocation = TalkAction("!change")

function changeVocation.onSay(player, words, param)
    -- Check if a vocation name was provided
    if param == "" then
        player:sendCancelMessage("Please specify the vocation. Usage: !change vocationName")
        return false
    end

    -- Normalize input
    local vocationName = param:trim():lower()

    -- Define vocations and their IDs
    local vocations = {...

Read more about this resource...
 
Back
Top