-
Notifications
You must be signed in to change notification settings - Fork 774
Isloggedin
Haru edited this page Oct 19, 2016
·
1 revision
- isloggedin(<account></account>[,]);
This function checks, whether an character with given account id is currently online (1) or not (0). Additionally a char id can be specified, for exact character matching.
[[input]] .@aid;
if(isloggedin(.@aid))
{
[[mes]] "A character with account id "+.@aid+" is currently around.";
}
else
{
mes "Sorry, there is no character online with account id "+.@aid+",";
mes "or the account does not exist.";
}
Category:Script Command