Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
|PoTime Biatch
|This mac is made to invite latecomers for Time Raids. On recieing a tell saying 'invite' from a guildie it will autoinvite then disband.
#chat tell
#define <guild> "<guildname here>"
Sub Main
/echo PoTime Bitch Macro Activated
/declare Latecomer string outer
/declare InviteReturn string outer
/declare InviteTimer timer outer
:loop
/doevents
/delay 2s
/goto :loop
Sub Event_Chat(ChatType,Sender,ChatText)
/varset Latecomer ${Sender}
/if (${ChatText.Find[Invite]}) {
/call Invite
/if (${InviteReturn.Equal[INVITE_SUCCESS]} /disband
}
/return
Sub Invite
/squelch /target clear
/target ${Sender}
/if (!${Target.ID}) {
/echo Failed to get a Target
/varset InviteReturn TARGET_FAILED
/return
}
/varset InviteTimer 10s
/if (${Target.Guild.Equal[<guild>]}) {
/invite
:wait4join
/if (${InviteTimer}==0) {
/echo Invite Timed Out
/varset InviteReturn INVITE_FAILED
/return
}
}
/if (${Group}==0) {
/delay 1s
/goto :wait4join
}
/varset InviteReturn INVITE_SUCCESS
/return