Skip to content
General Chat Talk

Halt Execution

A TG007 community discussion started by Dippy.

Discussion 4 posts
Page 1 of 1
Open
Topic #9461 · 4 published posts · 1,088 views

on *:JOIN:#: {
  if (RoomBlah !isin $chan) halt
  msg $chr(37) $+ $chr(35) $+ RoomBlah $remove($replace($nick $address $1,>,Guest_),') has Join $remove($chan,$chr(37),$chr(35)) ( $+ $time GMT +10)
  if (' isin $nick) {
    if (Bot isin $nick) { halt }
    if (Denies isin $nick) { halt }
    else {

 

Hello How Would I go About halting this code for a few seconds please thanks :)

What do you want to halt? The message? If that's the case, use a timer

on *:JOIN:#: {
  if (RoomBlah isin $chan) { .timer 1 10 msg $chr(37) $+ $chr(35) $+ RoomBlah $remove($replace($nick $address $1,>,Guest_),') has Join $remove($chan,$chr(37),$chr(35)) ( $+ $time GMT +10) }
...
}

That what you're after?

I don't get paid to know the answer, therefore I'm far more likely to give you a straight and honest answer.

so it be like this

 

on *:JOIN:#: {
  if (RoomBlah !isin $chan) halt
  .timer 1 2 msg $chr(37) $+ $chr(35) $+ RoomBlah $remove($replace($nick $address $1,>,Guest_),') has Join $remove($chan,$chr(37),$chr(35)) ( $+ $time GMT +10)
  if (' isin $nick) {
    if (Bot isin $nick) { halt }
    if (Denies isin $nick) { halt }
    else {

 

Takaharu would like ur code but it not working :(