All pastes #2652919 Raw Edit

autoODP by LatresoGames

public unlisted text v1 · immutable
#2652919 ·published 2014-03-08 13:42 UTC
rendered paste body
#-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__#
#                                                                    #
#                                                                    #
#  []        [][]   [][][][][]  [][][]   [][][]   [][][]     [][]    #
#  []       []  []      []      []   []  []      []    []   []  []   #
#  []      []    []     []      []   []  []      []        []    []  #
#  []      []    []     []      [][][]   [][][]   [][][]   []    []  #
#  []      [][][][]     []      [] []    []            []  []    []  #
#  []      []    []     []      []  []   []      []    []   []  []   #
#  [][][]  []    []     []      []   []  [][][]   [][][]     [][]    #
#                                                                    #
#                                                                    #
#         [][][]   []    []  [][][]   []  [][][]   [][][][][]        #
#        []    []  []   []   []   []      []   []      []            #
#        []        []  []    []   []  []  []   []      []            #
#         [][][]   [][]]     [][][]   []  [][][]       []            #
#              []  []  []    [] []    []  []           []            #
#        []    []  []   []   []  []   []  []           []            #
#         [][][]   []    []  []   []  []  []           []            #
#                                                                    #
#                                                                    #
#-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__#



#-----------------------#
#  TEGO NIE ZMIENIAJ:   #
#-----------------------#

variables:
	{autoodp.%player%} = 1

options:
	1: <yellow>--------------------
	2: <green>zadales pytanie:<gold>
	3: <green>odpowiedz:<gold>
	4: <gray>mozesz wylaczyc funkcje auto odpowiedzi wpisujac <green>/autoodp

#---------------------------------#
#      T0 MOZESZ ZMIENIAC:        #
#                                 #
#   aby dodac pytanie skozystaj   #
#    z informacji na MPCforum     #
#   w temacie z moimi skryptami   #
#                                 #
#---------------------------------#	


#  1.Pytania i odpowiedzi   #


	pytanie1: ile kosztuje vip
	odp1: vip kosztuje xx,xx zlotych

	
#  2.Auto odopwiedzi na czacie   #


on chat:
	if chat message contains "{@pytanie1}":
		if {autoodp.%player%} is 1:
			cancel event
			send "{@1}" to player
			send "{@2} '{@pytanie1}'" to player
			send "{@3} {@odp1}" to player
			send "{@4}" to player
			send "{@1}" to player
		else:
			stop
			
#-----------------------#
#  TEGO NIE ZMIENIAJ:   #
#-----------------------#	
			
command /autoodp [<text>]:
	trigger:
		if arg 1 is not set:
			send "{@1}" to player
			send "<green>/autoodp -<gold> lista komend" to player
			send "<green>/autoodp on/off -<gold> wlacza/wylacza funkcje auto odpowiedzi" to player
			send "<green>/autoodp lista -<gold> lista wszystkich pytan" to player
			send "<green>/autoodp autor -<gold> informacje o autorze" to player
			send "{@1}" to player
			stop
		if arg 1 is "on" or "tak" or "true":
			set {autoodp.%player%} to 1
			send "<green>funkcja auto odpowiedzi <bold>wlaczona" to player
			stop
		if arg 1 is "off" or "nie" or "false":
			set {autoodp.%player%} to 0
			send "<red>funkcja auto odpowiedzi <bold>wylaczona" to player
			stop
		if arg 1 is "autor":
			send "{@1}" to player
			send "skrypt stworzony przez <green>LatresoGames" to player
			send "{@1}" to player
			stop
#---------------------------------#
#      T0 MOZESZ ZMIENIAC:        #
#                                 #
#   aby dodac pytanie do listy    #
#   skozystaj z informacji na     #
#   MPCforum w temacie z moimi    #
#           skryptami             #
#                                 #
#---------------------------------#	

#  3.lista pytan   #


		if arg 1 is "lista" or "list":
			send "{@1}" to player
			send "{@pytanie1}" to player
			send "{@1}" to player
			stop