Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LogOut timer
Author Message
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #1
LogOut timer
I want to teleport player who logout more than 1 minute to specific place
So if i add logout timer with timer 60 it's not work, but if timer 15 its work fine.
Why?

Code:
ON=@LOGOUT
SERV.NEWITEM i_logout_timer
SRC.EQUIP <NEW>

[itemdef i_logout_timer]
ID=i_memory
TYPE=t_eq_script
name=logout timer
ON=@CREATE
TIMER=60
ON=@TIMER
CONT.GO Britain
REMOVE
RETURN 1
05-05-2012 04:57 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: LogOut timer
timers can stop on offline characters i suggest you to use timerf.
Code:
[function logout_timer]
if !(<isonline>)
    go britain
endif

[function example]
timerf 60,logout_timer
(This post was last modified: 05-05-2012 05:07 AM by Shaklaban.)
05-05-2012 05:06 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #3
RE: LogOut timer
hmm then you can try something like this:

http://forum.spherecommunity.net/showthr...82#pid1882

just place your logout timer which linked to player to 11,11
(This post was last modified: 05-05-2012 02:37 PM by Shaklaban.)
05-05-2012 02:37 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #4
RE: LogOut timer
Hey, all methods works! Just need to use P=<coords> instead GO or TELE 0_o
Thanks for help
(This post was last modified: 05-05-2012 04:55 PM by WRWR.)
05-05-2012 04:44 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)