Hatake Kakashi Posted February 11, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Share Posted February 11, 2012 - script Freebies -1,{ OnPCLoginEvent: // 1st: Announce login Announce(StrCharInfo(0) + " has logged in.", bc_all); // 2nd: Check freebies if(!#FREEBIES) { GetItem(2830, 2); GetItem(2831, 2); Set(#FREEBIES, 1); } // Event ends End(); } Quote Link to comment Share on other sites More sharing options...
Gepard Posted February 11, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 392 Reputation: 285 Joined: 12/19/11 Last Seen: January 23, 2022 Share Posted February 11, 2012 Use rentitem instead of getitem. For rentitem syntax, see doc/script_commands.txt Quote Link to comment Share on other sites More sharing options...
Rikimaru Posted February 11, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 658 Reputation: 57 Joined: 11/20/11 Last Seen: July 1, 2017 Share Posted February 11, 2012 Your script is going to announce everytime a Player logs in,that the Player logged in,do you want it to be like that?because that's often used for GM's,if a GM logs in. Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted February 12, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted February 12, 2012 can i disable for GM Login? only in player login. thanks. Quote Link to comment Share on other sites More sharing options...
Nipsino Posted February 12, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 218 Reputation: 16 Joined: 01/24/12 Last Seen: May 24, 2015 Share Posted February 12, 2012 if(getgmlevel() > 20) end; Try adding that in before the "announce(strcharinfo(0)" Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted February 12, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted February 12, 2012 thanks.. its working... Quote Link to comment Share on other sites More sharing options...
Question
Hatake Kakashi
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.