[Scripts] OTClient


Gugu - Karin Uzumaki

Recommended Posts

  • 4 weeks later...

eu já fiz um pro okina. é essa aqui:

function rustyEvent()	
	if remover == nil then
		remover = cycleEvent(function ()
			if g_game.isOnline() then
				local player = g_game.getLocalPlayer()
				local rusty = {8894,8895,8896,8903,8904,8905,8906,8907,8908,8897,8898,8898,8899,8900,8901,8902,8891,8892,8893}
				local removerItem = player:getItem(9016)
					
				for i=1, #rusty do
					if removerItem then
						if player:getItem(rusty[i]) then
							g_game.useWith(removerItem,player:getItem(rusty[i]))
						end
					end
				end
			end
		end, 1000)
		print("Ativado")
	end
end

function cancelRusty()
	removeEvent(remover)
	remover = nil
	print("Desativado")
end

cola isso no seu terminal do otc, e quando vc quiser ativar, vc fala o comando rustyEvent() no terminal e se quiser desativar vc fala cancelRusty()

  :)

Link to comment
Share on other sites

  • 1 month later...

quando manda no ctrl+t é mais complicado.. Pra vc colocar uma script no ctrl +t, vc tem que alocar o evento em uma variável e dps tirar essa variável com o comando removeEvent().. assim

 

falar = cycleEvent(funtion() g_game.talk("Hello Word") end , 2000) # declarando o evento dentro da variável falar

removeEvent(falar) # tirando o evento...

Link to comment
Share on other sites

e esses scripts que não são pra o CTRL+T são pra colocar aonde? como essas mesma de estourar as pot

Então, as scripts do CTRL+T são pra colocar no terminal do otc. Vc aperta ctrl + t ( atalho pra abrir o terminal) e cola o script e da enter..

Mas não aconselho vc a usar essas scripts, são complicadas de usar. Use esse Mod q eu fiz, pra ativar as scripts atraves de clicks...

http://forum.tibiarpgbrasil.com/index.php?/topic/57115-otclient-novo-modulo/

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...