Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------
- -- Local settings --
- ------------------------------
- MC_LIST={"Charlover Trampek"} -- list to send private message
- LABEL_CONDITION='Exp' -- in this label msg's will sending
- GLOBAL_MESSAGE={'go'} -- message to send_.math.random
- ---------------------------------------
- -- Even listener in walker --
- ---------------------------------------
- i,tries=0,30
- function read__label(label)
- -- Orginaly made by @Rafal, all rights reserved.
- if (label==LABEL_CONDITION)then
- if tries>0 then
- repeat
- name=MC_LIST[1+i]
- Self.PrivateMessage(name, (GLOBAL_MESSAGE[math.random(1,#GLOBAL_MESSAGE)]))
- wait(1000, 1700)
- tries,i=tries-1,i+1
- until tries==0 or MC_LIST[1+i]==nil
- tries,i=30,0
- end
- end
- end
- registerEventListener(WALKER_SELECTLABEL, "read__label")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement