Skip to content
MSN

Ado0n help

A TG007 community discussion started by D3xter.

Discussion 2 posts
Page 1 of 1
Open
Topic #4284 · 2 published posts · 607 views

hello to all I hope you can help. many users enter my chat and they put absent. I want them out if they stay 30 minits abcent

 

SOMTHING LIKE CODE OF OZZY BAT NOT WORK IN ME SCRIPT

 

raw 317:*: {
 if ($2 != $gettok($read(text\ozsleeper.txt, w,* $+ $2 $+ *),1,32)) && ($2 !isop $active) && ($3 >= %oz3sleep) {
   access $active add deny $2 1
   kick $active $2 : $+ Idle Kick-You've not moved for $duration($3) this is a chatroom not a bedroom wake up please(Access ban set for 1 minute)  
 }
}

You would have to probably whois the room to get a idle time or you use a timer to set the username to 0 everytime they do something in to the room. Like

set %idletime $+ morph3us 0 and a timer starts like 

/timer $+ $nick 0 1 inc %idletime $+ morph3us

 

Then u would have to put an if in to check the value of the variable. Im not sure if that would work but il try it when i get home. I hope this has helped in anoy sort of way.

 

Thanks

 

Operating System: Microsoft Windows 7 Ultimate 6.1.7600 (Ultimate)

CPU: AMD RX™ 8120 Eight Core, 3.10 GHz

Maximum Clock: 2200 MHz

RAM: DDR3 1333 16 gb Ram

Video Adapter: ATI Radeon HD 3200 Graphics (512 MB)

3D Accelerator: ATI Radeon HD 3200 (RS780)

Monitor: DELL ST2420 (Digital) [24 "LCD]

Monitor: HP 2159 Series Widle LCD monitor [23" LCD]

 

Your better off to have a friend than to be all alone.. If you fail, Your friend can help you up.