The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
untitled C++ Code
Posted by: Unknown | March 16, 2008 @ 12:21am
C++ Code
[
Download
]
} if ${This.IsIndoors} { return FALSE } return TRUE } member GetMount() { if ${Me.Level} < 20 { return NONE } variable guidlist ItemList ;Epic if ${Spell[Ghost Wolf](exists)} { return ${Spell[Ghost Wolf].ID} } if ${Spell[Summon Charger](exists)} { return ${Spell[Summon Charger].ID} } ItemList:Search[-items,-inventory,-usable,-epic,-skill, Riding] if ${ItemList.Count} > 0 { return ${Item[${ItemList.GUID[1]}]} } ;None Epic if ${Spell[Summon Felsteed](exists)} { return ${Spell[Summon Felsteed].ID} } if ${Spell[Summon Warhorse](exists)} { return ${Spell[Summon Warhorse].ID} } ItemList:Search[-items,-inventory,-usable,-skill, Riding] if ${ItemList.Count} > 0 { return ${Item[${ItemList.GUID[1]}]} } return NONE } method Dismount() { if ${Math.Calc[${LavishScript.RunningTime} - ${This.LastDismount}]} < 5000 || !${This.IsMounted} || !${Me.Buff[Ghost Wolf](exists)} { return } This:Output["Dismounting."] if ${Me.Buff[Ghost Wolf](exists)} { Me.Buff[Ghost Wolf]:Remove } elseif ${This.IsMounted} { WoWScript Dismount() } This.LastDismount:Set[${LavishScript.RunningTime}] } member IsMounted() { if ${WoWScript[IsMounted()]} { return TRUE } if ${Me.Buff[Ghost Wolf](exists)} { return TRUE } return FALSE } variable point3f LastIndoors = ${Me.Location} member IsIndoors() { if ${WoWScript[IsIndoors()]} { This.LastIndoors:Set[${Me.Location}] return TRUE } if ${Math.Distance[${Me.X},${Me.Y},${Me.Z},${This.LastIndoors.X},${This.LastIndoors.Y},${This.LastIndoors.Z}]} < 30 { This:Debug["We are outdoors, but within 30 yards of our last indoor location."] return TRUE } return FALSE } }
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.52 / 8
233 Votes
http://codebin.yi.org/141
page generated in 0.00 seconds