The Exiled

Shunned by Man, Accepted by Gods
* FAQ    * Search   * Members
* Login   * Register
It is currently Mon Feb 17, 2020 12:09 am 

 View unanswered posts | View active topics


 Board index » General Area » Modding

Post new topic Reply to topic Users browsing this forum: No registered users and 3 guests
Author
Message
TE-Shugo
Squire

User avatar
Joined: Mon Sep 05, 2005 12:21 am
Posts: 70
Location: YaY ArEa, CaLiForNia
Post Posted: Sat Jan 14, 2006 1:44 am    Post subject: AFK Script
 
for all you guys who are always AFK heres a script i made just for you XD *looks at angelus* 8) :lol:

for 1. make sure you make the file name ShugoAFKScript.cs or it wont work right

Code:
//put ur name in here doesnt have to be full name
//like mine i just put shugo, when my full is -|TE|- Shugo
$YourName = "";

//right here make the # u want right no its set to
//1 on the keypad
bindCommand(keyboard0, make, "numpad1", TO, "Shugo::Activate::AFK();");
//==============================
//Do not touch below unless you know what you are doing
//Please dont rip my code and say you made it
//I useally dont post my scripts on forums
//But i do this from the kindness of my heart >:) >:)
function Shugo::Activate::AFK(%clientId)
{
   if($YourName == "")
   {
      remoteCP(2048,"<jc><f1>Shugo: ERROR, Check Console", 5);
      echo(" ");
      echo("Please type your name inside the file.cs");
      echo("But for right now just type");
      echo("$YourName = \""@Client::getName(%clientId)@"\";");
      echo("in your console");
      echo(" ");
      return true;
   }
   if($Shugo::AFK == "false")
   {
      $Shugo::AFK = "true";
      say(0,"I am now AFK.");
      return true;
   }
   else if($Shugo::AFK == "true")
   {
      $Shugo::AFK = false;
      say(0,"I am now back from being AFK.");
      return true;
   }
}

function onClientMessage(%clientId,%msg)
{
   Shugo::AFK(%clientId, %msg);
   return true;
}
   
function Shugo::AFK(%clientId, %msg)
{
   $PersonName = Client::getName(%clientId);
   if(String::findSubStr(%msg, $YourName) != -1 && $Shugo::AFK)
   {
      say(0,"Sorry "@[email protected]" but i am AFK right now~wsorry");
   }
}

function onClientJoin(%clientId)
{
   exec("ShugoAFKScript.cs");
}



Image

Image

Image
Last edited by TE-Shugo on Sat Jan 14, 2006 1:19 pm, edited 3 times in total.
 Top Offline
Profile WWWYIM
Author
Message
TE-Pengwin
King

User avatar
Joined: Tue Jun 07, 2005 5:39 pm
Posts: 2971
Location: Illinois
Post Posted: Sat Jan 14, 2006 9:42 am    Post subject:
 
i might us ethis


Image
Retard + beta software = whiny bitch
TE-Gooberman wrote:
hammy would hit anything as long as he couldnt tell what its gender was.
 Top Offline
Profile WWWYIM
Author
Message
TE-Hammy
Spends 8.56 hours posting on this forum.

User avatar
Joined: Thu Jul 14, 2005 5:43 pm
Posts: 3204
Post Posted: Sat Jan 14, 2006 10:11 am    Post subject:
 
looks like actionscript for flash x_x


This is not the sandwich you are looking for. Move along.
Image
Ze Sechs-fire wrote:
[22:00] [df]Braveskin: Can AfroMuffin spend the night at my house?
[22:00] [df]Braveskin: I have movize
[22:00] Hammy: No. You'll touch him.
[22:00] Hammy: With gusto.
[22:00] Hammy: He's not even a day old, pedophile.
[22:00] Hammy: >:l
[22:00] [df]Braveskin: plez!!
 Top Offline
Profile
Author
Message
TE-Shugo
Squire

User avatar
Joined: Mon Sep 05, 2005 12:21 am
Posts: 70
Location: YaY ArEa, CaLiForNia
Post Posted: Sat Jan 14, 2006 12:12 pm    Post subject:
 
XD i 4got to add sumthing so look at the update


Image

Image

Image
 Top Offline
Profile WWWYIM
Display posts from previous:  Sort by  
Post new topic Reply to topic Board index » General Area » Modding
Previous topic :: Next topic  
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group