zerghel
Tsuni
- Joined
- Jul 1, 2008
- Messages
- 299
- Reaction score
- 9
hello dying community
i want to share a simple AUTOCAST script
i have to say im not a scripter myself, so if anyone can make an improvement to this, feel free to do it
you can notice is made using Blessings Script as a base (sorry )
i want to share a simple AUTOCAST script
i have to say im not a scripter myself, so if anyone can make an improvement to this, feel free to do it
Code:
local autoCastLevel = 1
function onLogin(cid)
local player = Player(cid)
if player:getLevel() >= autoCastLevel then
for i = 1, 8 do
if not player:getGroup(i):getAccess(i) then
player:startLiveCast(i, 1)
end
end
-- player:sendTextMessage(MESSAGE_EVENT_ADVANCE,'You have started casting you gameplay')
player:getPosition():sendMagicEffect(CONST_ME_HOLYDAMAGE)
end
return true
end