palace://digital-x.net

Welcome Guest
Register | Log in

Home
 Lost Password
 Member List
 Gallery
 Reviews
 Glossary
 Events
 FAQ

Cool Stuff!
 GoogleMap
 TOPList
 GAMES
 SHOP
 
User Input!
 Submit Link
 Submit Event
 Submit Article

Quick Downloads
 PC 3.6 Client
 PC Client Upgrader
 Mac Client (OsX)
 Mac Client (os9)
 Mac Client fix
 PC Server

Online Guidelines
 What is the Palace
 How to get on Palace
 Picture to Avatar
 Kids Online safety
 Netiquette

for more guides click
manuals



members: 9720
guests online: 55
member online: 1


You are an anonymous user. You can register for free by clicking here




Subscribe to Palace
support Group



Vote for us!


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
maartenOffline
Post subject: Wiz Scripts 2  PostPosted: Jan 06, 2005 - 04:32 AM



Joined: Oct 20, 2002
Posts: 674
Location: DiGiLaNd
Status: Offline
Shortcut scripts for pinning, paging and the like. Copy the script from the script section: This is an ON OUTCHAT Script. It has to be placed in your Palace Clients "cyborg.ipt" file in the ON OUTCHAT section. Use Notepad, or plain text editors Like Ultraedit or BBedit for this. Wordprocessors will damage scripts. For more information on editing your Cybrog.ipt, please check the Palace Planet HELP section. (don't forget to RELOAD scripts from the file menu of your client) USAGE: `g Gags one selected person. `ug UNgags one selected person. `pg Propgags one selected person. `upg UNPropgags one selected person. `pn Pins one selected person. `upn UNpins one selected person. `k Kills one selected person. `uu Unpins, Ungags, and Unpropgags YOU. `l List someone `w Shows online wizards `p Sends a page `ss Show the current selected snert (whisper to set the snert) This feature remebers who the last user you pinned/gagged etc... When `ss is said without being followed by a name or being whispered, it will display your SS.This allows `ug to ungag the person you last gagged and so on

Code:
; *******************************************************************
;                           WIZARD  SCRIPTS 2.2
;
; The following code pieces are placed in your cyborg file
; inside your ON OUTCHAT and ON SIGNON event handlers.
;
; Author: Wings, aka CodeWarrior  (revamped by Hex)
;
;       `g              Gags one selected person.
;       `ug             UNgags one selected person.
;       `pg             Propgags one selected person.
;       `upg            UNPropgags one selected person.
;       `pn             Pins one selected person.
;       `upn            UNpins one selected person.
;       `k              Kills one selected person.
;       `uu             Unpins, Ungags, and Unpropgags YOU.
;       `l              List someone
;       `w              Shows online wizards
;       `p <msg>        Sends a page
;       `ss             Show the current selected snert (whisper to set the snert)
;                        This feature remebers who the last user you
;                        pinned/gagged etc... When `ss is said without being followed by a name
;                        or being whispered, it will display your SS.
;                        This allows `ug to ungag the person you last gagged and so on


;--- On Signon Section Begin ---

   wtGet GLOBAL
   {   com =
      { "$1" GREPSUB wt = } "$1" GREPSUB "" == NOT "$1" GREPSUB "$1" == NOT AND IF
      { WHOTARGET wt = } WHOTARGET IF
      {   { com " " & wt & SAY } wt VARTYPE SWAP POP 4 == IF
         { com wt PRIVATEMSG } wt VARTYPE SWAP POP 1 == IF
      } {   { com " " & wt & SAY }
         { com wt PRIVATEMSG } wt "~" > IFELSE
      } IPTVERSION IFELSE
   } wtGet DEF
   
;--- On Signon Section End ---
   


;--- On Outchat Section Begin ---

   wt GLOBAL
   wtGet GLOBAL

   { "`page $1" GREPSUB CHATSTR = } CHATSTR "^`p (.*)" GREPSTR IF
   { "`opcount" SAY "`glist -w -o" SAY "" CHATSTR = } CHATSTR "`w" == IF
   { "$1" GREPSUB wt PRIVATEMSG "" CHATSTR = } CHATSTR "^`ws (.*)" GREPSTR IF
   
   {   { "$1" GREPSUB wt = } "$1" GREPSUB "" == NOT "$1" GREPSUB "$1" == NOT AND IF
      { WHOTARGET wt = } WHOTARGET IF
      "Snert Set: " wt { ITOA } wt VARTYPE SWAP POP 1 == IF & LOCALMSG
      "" CHATSTR =
   } CHATSTR "`ss" == CHATSTR "^`ss (.*)" GREPSTR OR IF
   
   {   "`list -o -p" wtGet EXEC "`list -k" wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^`l (.*)" GREPSTR CHATSTR "`l" == OR IF
   
   {   "`gag" wtGet EXEC "`list" wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^`g (.*)" GREPSTR CHATSTR "`g" == OR IF
   {   "`ungag" wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^ug (.*)" GREPSTR CHATSTR "`ug" == OR IF
   
   {   "`pin" wtGet EXEC "`list -o" wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^`pn (.*)" GREPSTR CHATSTR "`pn" == OR IF
   {   "`unpin" wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^upn (.*)" GREPSTR CHATSTR "`upn" == OR IF
   
   {   "`propgag" wtGet EXEC "`list -o" wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^`pg (.*)" GREPSTR CHATSTR "`pg" == OR IF
   {   "`unpropgag" wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^upg (.*)" GREPSTR CHATSTR "`upg" == OR IF
   
   {   "$1" GREPSUB tm = "$2" GREPSUB nm =
      {   "`list -o -p" wtGet EXEC " `list -k" wtGet EXEC
         "`trackfor 20" wtGet EXEC
         "`killfor " tm & wtGet EXEC
      } nm "(.*)" GREPSTR IF
      "" CHATSTR =
   } CHATSTR "^`k ([0-9]+) (.*)" GREPSTR IF
   {   "$1" GREPSUB tm = "$2" GREPSUB nm =
      nm "(.*)" GREPSTR POP
      "`list -o -p" wtGet EXEC " `list -k" wtGet EXEC
      "`trackfor 20" wtGet EXEC
      "`killfor " tm & wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^`k ([0-9]+)" GREPSTR IF
   {   "`list -o -p" wtGet EXEC " `list -k" wtGet EXEC
      "`trackfor 20" wtGet EXEC
      "`kill" wtGet EXEC
      "" CHATSTR =
   } CHATSTR "^`k (.*)" GREPSTR CHATSTR "`k" == OR IF
   
   {   { "`unpin " USERNAME & SAY } POSX 490 == POSY 362 == AND IF
        "`ungag " USERNAME & SAY
      { "`unpropgag " USERNAME & SAY } NBRUSERPROPS NOT IF
      "" CHATSTR =
   } CHATSTR "`uu" == IF

 
 View user's profile Send private message Visit poster's website AIM Address  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
©Palaceplanet 2000-2006